- Accueil
- Vulnérabilités
- CVE-2026-102657
CVE-2026-102657
esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
esm-dev (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| esm.sh | Versions non précisées | — | CNA (éditeur ou attributeur) |
Go (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| github.com/esm-dev/esm.sh | avant 0.2.0 (exclu) |
0.2.0 |
OSV |
| github.com/esm-dev/esm.sh/web | avant 0.2.0 (exclu) |
0.2.0 |
GitHub Advisory |
Correctif
Mise à jour — Go/github.com/esm-dev/esm.sh/web 0.2.0source officielle
Source : GitHub Advisory
Mise à jour — Go/github.com/esm-dev/esm.sh 0.2.0source officielle
Source : OSV
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
esm.sh web handler < v137_7 - Path Traversalsource officielle
Modèle Nuclei
nuclei -u https://VOTRE-HOTE -t http/cves/2026/CVE-2026-102657.yamlSource : Ouvrir
Modules et modèles publics
- Modèle de détection Nuclei · https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-102657.yaml
Chronologie
- — Publication de la CVE (cve)
- — Modèle de détection Nuclei (nuclei) date de première observation
Avis CERT-FR
- GO-2026-6954 — esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal in github.com/esm-dev/esm.sh 23 nov. 2026
- GHSA-g3c2-rjq2-c763 — esm.sh: web.NewHandler allows arbitrary file read via encoded dot-segment path traversal 9 nov. 2026
Références
- https://github.com/esm-dev/esm.sh/security/advisories/GHSA-g3c2-rjq2-c763exploit
- https://github.com/esm-dev/esm.sh/pull/1376x_refsource_MISC
- https://github.com/esm-dev/esm.sh/commit/468b6b2a4b4dfec334cf6b33b01fcd4e5cd93bedx_refsource_MISC
- https://github.com/esm-dev/esm.sh/commit/fc3b345e73aeaa0b7a05b6f27d91c05fdf5f9b53x_refsource_MISC
- https://github.com/esm-dev/esm.sh/releases/tag/v137_7x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-102657ADVISORY
- https://github.com/esm-dev/esm.shPACKAGE
- https://github.com/esm-dev/esm.sh/releases/tag/v0.2.0WEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-22 · Traversée de chemin / fichiers