CVE-2026-142185
MEDIUM 6.3CVSS 4.0Glide through 4.2.1 Path Traversal via Server::getSourcePath and Watermark
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-22
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | MEDIUM 6.3 | 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 |
| NVD | disclosure@vulncheck.com (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | thephpleague | Glide | <= 4.2.1 |
References
- https://github.com/thephpleague/glide/blob/4.2.1/src/Manipulators/Watermark.php#L127-L152 · technical-description
- https://github.com/thephpleague/glide/blob/4.2.1/src/Server.php#L174-L193 · technical-description
- https://www.vulncheck.com/advisories/glide-through-4.2.1-path-traversal-via-server-getsourcepath-and-watermark · third-party-advisory
History
- 2 Dec 2026 17:35 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 16:57 UTC · CVE List: first stored (published 2 Dec 2026)