CVE-2026-76844: falha de alta gravidade em webpack-dev-middleware
webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 8.3epss 0.7%
da publicação à arma78 dias
Publicada no NVD24 de 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
Produtos afetados
webpack · webpack-dev-middlewarePoCs públicas encontradas — 2
githubgithub.com/perplexedyawdie/cve-2026-76844-lab★ 0cve_referencegist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490não verificado⚠ Recursos públicos, para você avaliar a exposição de sistemas que controla ou está autorizado a testar. Teste apenas com autorização.
CVEs relacionadas — webpack-dev-middleware
No mesmo produto, das mais perigosas para as menos.
Referências
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