CVE-2026-102657Esm Dev Esm.sh path traversal
CVSS score
7.5
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
3.96%
3.96% chance of exploitation in the next 30 days, higher than 90.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
esm.sh is a no-build content delivery network (CDN) for web development. Prior to server version 137_7, the documented web.NewHandler static file server in web/handler.go joins the URL-decoded r.URL.Path with Config.AppDir without verifying that the result remains inside the configured application directory. URL-encoded dot segments such as %2e%2e bypass the plain traversal redirect performed by Go's ServeMux, allowing an unauthenticated remote attacker to make the server open and return files outside Config.AppDir that are readable by the server process. The confirmed impact is file disclosure only, and the issue is reachable with Dev disabled. This issue is fixed in server version 137_7.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running esm-dev Esm.sh and compare its version with the affected versions.
Update to a fixed version
- Update Esm.sh to 137_7 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| esm-dev Esm.sh | < 137_7 |
Weakness
- CWE-22 path traversal
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-102657 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 4.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-102657?
CVE-2026-102657 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Esm Dev Esm.sh (< 137_7)
Is there a patch for CVE-2026-102657?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.