Unrated severityNVD Advisory· Published Dec 2, 2026
Glide through 4.2.1 Path Traversal via Server::getSourcePath and Watermark
CVE-2026-142185
Description
Glide through 4.2.1 contains a path traversal vulnerability that allows remote unauthenticated attackers to read images outside configured prefixes by supplying encoded dot-dot sequences. When image URLs are not signed, attackers can send ..%2F sequences in request paths or the mark parameter to read images elsewhere on the filesystem and write cache files outside cache_path_prefix.
Patches
Vulnerability mechanics
References
3- www.vulncheck.com/advisories/glide-through-4.2.1-path-traversal-via-server-getsourcepath-and-watermarkmitrethird-party-advisory
- github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.phpmitretechnical-description
- github.com/thephpleague/glide/blob/4.2.1/src/Server.phpmitretechnical-description
News mentions
0No linked articles in our index yet.