CVE-2026-76844: webpack-dev-middleware · Path Traversal
Affects webpack-dev-middlewareSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.3 High : upgrade to 8.3.0 or 7.4.6 soon.
Data as of 21 Nov 2026, 17:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.4 |
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.3.0, 7.4.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade webpack-dev-middleware to 8.3.0 or 7.4.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| webpackwebpack-dev-middleware | Affected
| Fixed in
|
npmwebpack-dev-middlewarepkg:npm/webpack-dev-middlewareOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade webpack-dev-middleware to version 7.4.6 or later, or 8.3.0 or later, where the vulnerability is fixed. No other mitigation is required as the fix is available in these versions.
Description
A path traversal vulnerability exists in webpack-dev-middleware versions 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. This flaw allows unauthenticated attackers to read files outside the intended output directory by exploiting improper pathname limitation in the getFilenameFromUrl function. The vulnerability bypasses a previous fix due to how publicPath without a trailing slash is matched and the order of pathname checks.
References
- github.com/webpack/webpack-dev-middleware (opens in a new tab)
- github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.js (opens in a new tab)
- github.com/advisories/GHSA-wr3j-pwj9-hqq6 (opens in a new tab)
- vulncheck.com/advisories/webpack-dev-middleware-path-traversal-via-offset-slice-on-a-non-slash-terminated-publicpath (opens in a new tab)
- github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c (opens in a new tab)
- github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359b (opens in a new tab)
- github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782b (opens in a new tab)
- github.com/webpack/webpack-dev-middleware/releases/tag/v8.3.0 (opens in a new tab)
- github.com/webpack/webpack-dev-middleware/releases/tag/v7.4.6 (opens in a new tab)