Packagist
CVE-2026-142185
Glide through 4.2.1 Path Traversal via Server::getSourcePath and Watermark
- Severity
- Medium 6.3
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- Path traversal (CWE-22)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
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- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
league/glidePackagist · osv:Packagist:league/glide |
|
About league/glide
- Monthly downloads (Packagist)
- 1,218,673Packagist, 2 Dec 2026
- Total downloads (Packagist)
- 58,007,473Packagist, 2 Dec 2026
Vulnerabilities in league/glide
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-142186Glide through 4.2.1 max_image_size Bypass via Border and Watermark DimensionsMedium 6.9 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142185