- Accueil
- Vulnérabilités
- CVE-2026-76844
CVE-2026-76844
webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath
Moyen
47/100
Résumé
webpack-dev-middleware 5.3.4, 6.1.2 through 6.1.3, 7.1.0 before 7.4.6, and 8.0.0 before 8.3.0 contains a path traversal vulnerability in getFilenameFromUrl that bypasses the fix for CVE-2024-29180: a publicPath without a trailing slash is matched by string prefix, and the '..' guard runs before that prefix is stripped. Unauthenticated attackers can request a path such as /assets../secret to read files one directory above the output directory when the middleware serves from the physical filesystem through writeToDisk or a custom outputFileSystem.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
webpack (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| webpack-dev-middleware | jusqu’à 5.3.4 (inclus) |
— | CNA (éditeur ou attributeur) |
| webpack-dev-middleware | de 6.1.2 (inclus) à 6.1.3 (inclus) |
— | CNA (éditeur ou attributeur) |
| webpack-dev-middleware | de 7.1.0 (inclus) à 7.4.6 (exclu) |
— | CNA (éditeur ou attributeur) |
| webpack-dev-middleware | de 8.0.0 (inclus) à 8.3.0 (exclu) |
— | CNA (éditeur ou attributeur) |
npm (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| webpack-dev-middleware | de 8.0.0 (inclus) à 8.3.0 (exclu) |
8.3.0 |
GitHub Advisory |
| webpack-dev-middleware | avant 7.4.6 (exclu) |
7.4.6 |
GitHub Advisory |
Correctif
Mise à jour — npm/webpack-dev-middleware 8.3.0; npm/webpack-dev-middleware 7.4.6source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1472)
Avis CERT-FR
- CERTFR-2026-AVI-1472 — Multiples vulnérabilités dans les produits IBM (06 novembre 2026) 6 nov. 2026
- GHSA-g84c-rxfj-3j2c — webpack-dev-middleware vulnerable to Path Traversal via non-slash-terminated publicPath 29 sept. 2026
Références
- https://github.com/webpack/webpack-dev-middlewarePACKAGE
- https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2cWEB
- https://github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359bWEB
- https://github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782bWEB
- https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.3.0WEB
- https://github.com/webpack/webpack-dev-middleware/releases/tag/v7.4.6WEB
- https://github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.jsWEB
- https://github.com/advisories/GHSA-wr3j-pwj9-hqq6ADVISORY
- https://www.vulncheck.com/advisories/webpack-dev-middleware-path-traversal-via-offset-slice-on-a-non-slash-terminated-publicpathWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-76844ADVISORY
- https://github.com/webpack/webpack-dev-middleware/pull/2404WEB
- https://gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490
- https://github.com/madler/zlib
- https://github.com/madler/zlib/blob/v1.3.2/gzwrite.c#L393
- https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148
- https://www.vulncheck.com/advisories/zlib-1.3.1.2-through-1.3.2-heap-buffer-overflow-via-gz-vacate
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-22 · Traversée de chemin / fichiers