AploSec / Disclosures / CVE-2026-142185

Medium 6.3ReportedNo fix listedCWE-22Packagist

Glide through 4.2.1 Path Traversal via Server::getSourcePath and Watermark

CVE-2026-142185 · published 2026-12-02

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). No fixed release is listed yet.

Summary

CVE-2026-142185 affects Glide (Packagist) <= 4.2.1: Path Traversal via Server::getSourcePath and Watermark (CWE-22). No fixed release is listed. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
Medium 6.3CVSS 4.0, scored by VulnCheck in the CVE record
Package
Glide
Ecosystem
Packagist
Affected
<= 4.2.1
Fixed
None
Weakness
CWE-22
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder