Home / esm-dev / esm.sh / CVE-2026-102657
CVE-2026-102657: is it exploited, and which versions of esm-dev esm.sh are affected and fixed?
CVE-2026-102657 is a path traversal (reading or writing files outside the intended folder) vulnerability in esm-dev esm.sh. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: github.com/esm-dev/esm.sh/web before 0.2.0 (GitHub advisory GHSA-g3c2-rjq2-c763). Fixed in 0.2.0 (GitHub advisory GHSA-g3c2-rjq2-c763). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-102657?
esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal
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.
From the CVE record by GitHub_M, last updated November 11, 2026, 03:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| esm-dev | esm.sh | < 137_7 |
As the CVE record by GitHub_M states it, last updated November 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/esm-dev/esm.sh/web | < 0.2.0 | 0.2.0 | GHSA-g3c2-rjq2-c763 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 9, 2026. Summary: esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal.
How severe is CVE-2026-102657?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-102657 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, November 11, 2026)
- EPSS
- 4.05% probability of exploitation activity in the next 30 days, percentile 90.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g3c2-rjq2-c763 x_refsource_CONFIRM
- https://github.com/esm-dev/esm.sh/pull/1376 x_refsource_MISC
- https://github.com/esm-dev/esm.sh/commit/468b6b2a4b4dfec334cf6b33b01fcd4e5cd93bed x_refsource_MISC
- https://github.com/esm-dev/esm.sh/commit/fc3b345e73aeaa0b7a05b6f27d91c05fdf5f9b53 x_refsource_MISC
- https://github.com/esm-dev/esm.sh/releases/tag/v137_7 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 29, 2026
- Published
- November 6, 2026, 20:49 UTC
- CVE record updated
- November 11, 2026, 03:30 UTC by GitHub_M
- NVD
- Deferred, last modified November 11, 2026, 05:19 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect esm.sh?
- May 28, 2026CVE-2026-44594 esm-dev esm.sh: path traversal (reading or writing files outside the intended folder)
- May 28, 2026CVE-2026-44593 esm-dev esm.sh: path traversal (reading or writing files outside the intended folder)
- Feb 25, 2026CVE-2026-27730 esm-dev esm.sh: server-side request forgery (SSRF)
- Feb 25, 2026CVE-2025-50180 esm-dev esm.sh: server-side request forgery (SSRF)
- Jan 18, 2026CVE-2026-23644 esm-dev esm.sh: path traversal (reading or writing files outside the intended folder)
- Nov 19, 2025CVE-2025-65026 esm-dev esm.sh: code injection (remote code execution)
- Nov 19, 2025CVE-2025-65025 esm-dev esm.sh: path traversal (reading or writing files outside the intended folder)
- Sep 17, 2025CVE-2025-59342 esm-dev esm.sh: path Traversal: '../filedir'
Questions about CVE-2026-102657
Is CVE-2026-102657 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 4.05% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of esm-dev esm.sh are affected by CVE-2026-102657?
github.com/esm-dev/esm.sh/web before 0.2.0, per the GitHub advisory GHSA-g3c2-rjq2-c763. The tables above give every range the sources list.
Which version fixes CVE-2026-102657?
0.2.0, per the GitHub advisory GHSA-g3c2-rjq2-c763. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-102657?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-102657?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.