CVE-2026-142185
Glide through 4.2.1 contains a path traversal vulnerability that …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.php#L127-L152
- github.com/thephpleague/glide/blob/4.2.1/src/Server.php#L174-L193
- www.vulncheck.com/advisories/glide-through-4.2.1-path-traversal-via-server-getsourcepath-a
- nvd.nist.gov/vuln/detail/CVE-2026-142185
- cve.org/CVERecord?id=CVE-2026-142185
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.