Skip to main content

League Glide CVE-2026-142185

| EUVDEUVD-2026-141520 MEDIUM
Path Traversal (CWE-22)
2026-12-02 VulnCheck GHSA-9crq-mmm4-wwrm
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send request with ..%2F in path or mark parameter
  2. Exploit
    Encoded traversal bypasses configured prefix check
  3. Impact
    Read arbitrary images and write cache files outside cache_path_prefix

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that Glide image URLs are NOT signed - the description explicitly ties the attack to the case 'When image URLs are not signed,' meaning deployments that enforce Glide's HTTP signature/signed-URL feature are protected. Given that, a remote unauthenticated attacker supplies encoded dot-dot sequences (..%2F) either in the request path (reaching Server::getSourcePath) or in the watermark 'mark' parameter (reaching the Watermark manipulator) to resolve paths outside the configured source prefix and the cache_path_prefix. LIMITING FACTORS: the CVSS 4.0 metrics AC:H and AT:P indicate the attack depends on meeting specific conditions and an attack requirement (the unsigned-URL configuration plus a successful encoded-traversal bypass); no authentication or user interaction is required once those hold. Impact is confined to reading images and writing cache files, not arbitrary file read/write of all types.

Impact

This is a moderate-priority issue rather than an emergency. The VulnCheck-supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) scores 6.3 (medium): it is network-reachable and needs no authentication, but AC:H plus AT:P signal that specific non-default conditions must hold and a particular attack requirement must be met before the encoded-traversal bypass works. Impact is deliberately bounded - VC:L/VI:L with VA:N - because the flaw reads image files outside the configured prefix (limited confidentiality) and writes cache files outside cache_path_prefix (limited integrity), with no availability effect. The vuln.today decision label is 'this_month', not act_now or emergency, which is consistent with the medium score. No EPSS probability, no CISA KEV listing, and no confirmed working exploit are present in the supplied data, so there is no signal of active or widespread exploitation; the practical exposure hinges almost entirely on whether a deployment uses Glide's URL-signing feature. Net: a genuine but constrained bug to remediate on a normal patch cycle, not a drop-everything event, and the limited read/write primitive keeps it below critical.

Exploit ScenarioDerived

A site runs Glide (≤4.2.1) to serve and manipulate images without URL signing enabled. A remote unauthenticated attacker requests an image path (or supplies the watermark 'mark' parameter) containing encoded dot-dot sequences such as ..%2F, causing Server::getSourcePath or the Watermark manipulator to resolve a path outside the configured prefix and return an arbitrary readable image - and to write a cache file outside cache_path_prefix. No confirmed working PoC is in the provided data, though a VulnCheck advisory documenting the flaw exists; AC:H/AT:P mean the attacker must satisfy specific conditions (notably unsigned URLs and a workable encoded-traversal payload) for the request to succeed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Path traversal in the PHP League Glide image manipulation library (all versions through 4.2.1) lets a remote unauthenticated attacker supply percent-encoded dot-dot sequences (..%2F) in the request path or in the watermark 'mark' parameter to resolve image paths outside the configured source prefix and to write cache files outside the configured cache_path_prefix. The exposure is conditional: per the available description the attack applies only when Glide image URLs are not signed, so deployments that enforce Glide's HTTP signature/signed-URL feature are protected; the CVSS 4.0 vector reflects this with AC:H and AT:P, and impact is limited to reading images and writing cache files rather than arbitrary file read/write (CVSS 3.1 base 6.3, C:L/I:L/A:N). No public exploit code and no confirmed active exploitation were identified at time of analysis, and the issue is tracked as a moderate-priority, this-month item rather than an emergency.

RemediationAI

The available data does not identify a vendor-released fixed version for CVE-2026-142185, so the primary actionable control is the one the advisory itself ties to exploitability: enable and enforce Glide's signed-URL/signature feature so that image URLs - including the path and the 'mark' parameter - are validated by signature before path resolution, which removes the 'URLs are not signed' precondition the attack depends on. The trade-off is operational: every image URL must be generated through Glide's signature API, so URLs built or cached elsewhere in the application, in templates, or in stored content will stop resolving until regenerated. Where URL signing cannot be rolled out immediately, restrict the Glide endpoint so attacker-supplied paths and mark values are not reachable - for example by serving only pre-generated image variants or by fronting the endpoint with rules that reject requests containing encoded traversal sequences (..%2F and equivalent encodings) in the path or in the 'mark' parameter; such filtering is bypass-prone and should be treated as temporary. Track the VulnCheck advisory at https://www.vulncheck.com/advisories/glide-through-4.2.1-path-traversal-via-server-getsourcepath-and-watermark and the upstream repository at https://github.com/thephpleague/glide for the release that addresses src/Server.php and src/Manipulators/Watermark.php, and upgrade when it is published. Because the flaw also permits cache files to be written outside cache_path_prefix, review the configured cache directory and its writability after applying any change, and monitor for unexpected files created outside it.

Affected VersionsENISA

Glide 0 ≤4.2.1

Affected Packages

euvd glide no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Glide is a PHP image manipulation and delivery library: applications route requests such as /img/{path} and /img/{path}?mark={watermark} into Glide's Server, which resolves a source filesystem path from the requested path, applies manipulators (resize, watermark, etc.), and writes the derived result into a cache directory. CVE-2026-142185 is a CWE-22 path traversal rooted in that path-resolution logic: the code referenced in the advisory (src/Server.php lines 174-193 and src/Manipulators/Watermark.php lines 127-152 at tag 4.2.1) builds the source path from user-controlled input without adequately rejecting encoded traversal segments, so ..%2F sequences survive decoding and escape the intended source prefix; the same class of input in the watermark 'mark' parameter has the parallel effect of placing cache output outside cache_path_prefix. The security control that changes the picture is URL signing: when Glide's signed-URL/signature feature is enforced, the request path and parameters are validated by signature before path resolution, which is why the description scopes the flaw to the 'image URLs are not signed' configuration and why the assessed vector uses AC:H with AT:P (an attack requirement beyond the attacker's control). Affected per CPE cpe:2.3:a:thephpleague:glide (EUVD lists versions 0 through 4.2.1). The trigger mechanics beyond the encoded ..%2F sequences and the two named code paths are not further described in the available sources.

Know when Glide gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.8 MEDIUM

Network, unauthenticated, but AC:H because exploitation depends on unsigned-URL configuration and a working encoded-traversal bypass; limited image read (C:L) and out-of-prefix cache write (I:L), no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.6%
Top 48% exploitable
Prevalence
Medium
Popular PHP image-handling library, common in PHP/Laravel apps but not universal
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy