GHSA-g2h5-cvvr-7gmw · Severity: medium · Ecosystem: go — esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header
esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a path-traversal flaw in the handling of the X-Zone-Id HTTP header allows an attacker to cause the application to write files outside the intended storage location. The header value is used to build a filesystem path but is not properly canonicalized or restricted to the application’s storage base directory. As a result, supplying ../ sequences in X-Zone-Id causes files to be written to arbitrary directories. Version 136.1 contains a patch.
Conclusion & alert: CVE-2025-59342 is rated High Exploit Risk (67.8/100): CVSS Medium severity, with high exploitation likelihood (EPSS 6.45%, 91th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 52461 | exploit_db | edb | 2025-12-16 | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-24 | 7.50% | 6.45% | -1.06% |
| 2 | 2026-04-21 | 10.90% | 7.50% | -3.39% |
| 3 | 2026-04-18 | — | 10.90% | — |
Full EPSS history (13 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 4.0 | MEDIUM |
|
— | — | [email protected] |
GHSA-g2h5-cvvr-7gmw · Severity: medium · Ecosystem: go — esm.sh has arbitrary file write via path traversal in `X-Zone-Id` header
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||