CVE-2026-76844: fallo de gravedad alta en webpack-dev-middleware
webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 8.3epss 0.7%
de la publicación al arma78 días
Publicada en NVD24 ago
1ª PoC+78d
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Productos afectados
webpack · webpack-dev-middlewarePoCs públicas encontradas — 2
githubgithub.com/perplexedyawdie/cve-2026-76844-lab★ 0cve_referencegist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490no verificado⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.
CVEs relacionadas — webpack-dev-middleware
En el mismo producto, de las más peligrosas a las menos.
Referencias
https://github.com/advisories/GHSA-wr3j-pwj9-hqq6https://github.com/webpack/webpack-dev-middlewarehttps://github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.jshttps://github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359bhttps://github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782bhttps://github.com/webpack/webpack-dev-middleware/releases/tag/v7.4.6https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.3.0https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c