Path traversalin the webpack-dev-middleware package.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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.
- Upgrade webpack-dev-middleware to 7.4.6, 8.3.0 or later, whichever matches your release line.
- Upgrade webpack-dev-middleware (npm) to 7.4.6, 8.3.0 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 19 Aug 2026CVE ID reserved by VulnCheck.
- 24 Aug 2026Published in the CVE List.
- 13 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
Same weakness: Path traversal
- github.com product
- github.com vendor-advisory
- github.com patch
- github.com patch
- github.com release-notes
- github.com release-notes
- github.com technical-description
- github.com related
- www.vulncheck.com third-party-advisory
Patchminder. CVE-2026-76844: Path traversal in the webpack-dev-middleware package. https://patchminder.com/cve/cve-2026-76844/ (accessed 5 December 2026).