GHSA-9crq-mmm4-wwrmMediumCVSS 4.8
Glide through 4.2.1 contains a path traversal vulnerability that allows remote unauthenticated...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142185
- https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.php#L127-L152
- https://github.com/thephpleague/glide/blob/4.2.1/src/Server.php#L174-L193
- https://www.vulncheck.com/advisories/glide-through-4.2.1-path-traversal-via-server-getsourcepath-and-watermark
- https://github.com/advisories/GHSA-9crq-mmm4-wwrm