webpack-dev-middleware resolves a request to a local file in getFilenameFromUrl by testing the request pathname against a traversal guard and then slicing it at a fixed character offset. The guard, UP_PATH_REGEXP applied to path.normalize(./${pathname}), only matches ".." that stands as a whole path segment, while the containment test is the string comparison pathname.startsWith(publicPathPathname) and the file path is built as path.join(outputPath, pathname.slice(publicPathPathname.length)). When the configured publicPath has no trailing slash, a request such as GET /assets../.env against publicPath /assets yields the pathname /assets../.env, whose only dot-dot sits inside the segment "assets.." and so passes the guard, but the offset slice cuts within that segment and hands "../.env" to path.join, resolving one directory above outputPath. Reading a file from that path requires the middleware to be backed by the physical filesystem, which happens when writeToDisk is true or a custom outputFileSystem is supplied, since the default memfs volume holds only build output. Traversal depth is limited to a single directory because a separately delimited dot-dot segment is collapsed during URL parsing before the guard runs. The default publicPath value of "auto" resolves to "/" and is not affected. This is an incomplete fix for CVE-2024-29180: the guard and offset slice were introduced by that fix and are present in every release from 5.3.4, 6.1.2 and 7.1.0 onward.
CVE-2026-76844
Score 7.4 from GitHub Security Advisory (severity: HIGH) published 2026-08-24. a secondary CVSS source baseline 7.4; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.4
- EG Score
- 7.4(high)
- EG Risk
- 38(Track)EG Risk 38/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity74% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 30%
- KEV
- Not listed
Published
August 24, 2026
Last Modified
August 24, 2026
Advisory Details (4)
Auto-updated Aug 24, 2026webpack-dev-middleware Path Traversal via Offset Slice on a Non-Slash-Terminated publicPath | Advisories | VulnCheck
https://www.vulncheck.com/advisories/webpack-dev-middleware-path-traversal-via-offset-slice-on-a-non-slash-terminated-publicpathPath traversal in webpack-dev-middleware · CVE-2024-29180 · GitHub Advisory Database · GitHub
https://github.com/advisories/GHSA-wr3j-pwj9-hqq6webpack-dev-middleware/src/middleware.js at v8.1.1 · webpack/webpack-dev-middleware · GitHub
https://github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.jsGitHub - webpack/webpack-dev-middleware: A development middleware for webpack · GitHub
https://github.com/webpack/webpack-dev-middlewareVendor Advisories for CVE-2026-76844(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| webpack-dev-middleware | — | 7.1.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 9× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-26 05:29 UTCGHSA enrichment
- 2026-08-25 16:28 UTCEG score recompute
- 2026-08-25 16:28 UTCGHSA enrichment
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 03:24 UTCEG score recompute
- 2026-08-25 03:24 UTCGHSA enrichment
- 2026-08-24 14:24 UTCEG score recompute
- 2026-08-24 13:22 UTCEG score recompute
- 2026-08-24 13:22 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-76844?
When was CVE-2026-76844 disclosed?
Is CVE-2026-76844 actively exploited?
What is the CVSS score of CVE-2026-76844?
How do I remediate CVE-2026-76844?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-76844
Is Your Infrastructure Affected by CVE-2026-76844?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.