{"id":"CVE-2026-142185","summary":"Glide through 4.2.1 Path Traversal via Server::getSourcePath and Watermark","details":"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.","modified":"2026-12-02T18:00:17.207931486Z","published":"2026-12-02T16:51:06.203Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142185.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142185.json"},{"type":"PACKAGE","url":"https://github.com/thephpleague/glide"},{"type":"ARTICLE","url":"https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.php#L127-L152"},{"type":"ARTICLE","url":"https://github.com/thephpleague/glide/blob/4.2.1/src/Server.php#L174-L193"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142185"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/glide-through-4.2.1-path-traversal-via-server-getsourcepath-and-watermark"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thephpleague/glide","events":[{"introduced":"0"},{"last_affected":"1a30fd6d47e9987474d6f928102142c30737eb07"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"4.2.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["4.2.1","4.2.0","4.1.0","4.0.0","3.2.0","3.1.0","3.0.1","3.0.0","2.3.2","2.3.1","2.3.0","2.2.4","2.2.3","2.2.2","2.2.1","2.2.0","2.1.1","2.1.0","2.0.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.2","1.2.1","1.2.0","1.1.1","1.1.0","1.0.1","1.0.0","0.3.5","0.3.4","0.3.3","0.3.2","0.3.1","0.3.0","0.2.0","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142185.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}