CVEBrief

Home / webpack / webpack-dev-middleware / CVE-2024-29180

CVE-2024-29180: is it exploited, and which versions of webpack-dev-middleware are affected and fixed?

CVE-2024-29180 is a path traversal (reading or writing files outside the intended folder) vulnerability in webpack-dev-middleware. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: webpack-dev-middleware from 7.0.0 before 7.1.0, webpack-dev-middleware from 6.0.0 before 6.1.2 and webpack-dev-middleware before 5.3.4 (GitHub advisory GHSA-wr3j-pwj9-hqq6). Fixed in 7.1.0, 6.1.2 and 5.3.4 (GitHub advisory GHSA-wr3j-pwj9-hqq6). Severity: High (7.4, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
webpack-dev-middleware from 7.0.0 before 7.1.0, webpack-dev-middleware from 6.0.0 before 6.1.2 and webpack-dev-middleware before 5.3.4
GitHub advisory GHSA-wr3j-pwj9-hqq6
Fixed in
7.1.0, 6.1.2 and 5.3.4
GitHub advisory GHSA-wr3j-pwj9-hqq6
Severity
High 7.4
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.23% in 30 days
higher than 70% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-29180?

webpack-dev-middleware Path Traversal vulnerability

Prior to versions 7.1.0, 6.1.2, and 5.3.4, the webpack-dev-middleware development middleware for devpack does not validate the supplied URL address sufficiently before returning the local file. It is possible to access any file on the developer's machine. The middleware can either work with the physical filesystem when reading the files or it can use a virtualized in-memory `memfs` filesystem. If `writeToDisk` configuration option is set to `true`, the physical filesystem is used. The `getFilenameFromUrl` method is used to parse URL and build the local file path. The public path prefix is stripped from the URL, and the `unsecaped` path suffix is appended to the `outputPath`. As the URL is not unescaped and normalized automatically before calling the midlleware, it is possible to use `%2e` and `%2f` sequences to perform path traversal attack. Developers using `webpack-dev-server` or `webpack-dev-middleware` are affected by the issue. When the project is started, an attacker might access any file on the developer's machine and exfiltrate the content. If the development server is listening on a public IP address (or `0.0.0.0`), an attacker on the local network can access the local files without any interaction from the victim (direct connection to the port). If the server allows access from third-party domains, an attacker can send a malicious link to the victim. When visited, the client side script can connect to the local server and exfiltrate the local files. Starting with fixed versions 7.1.0, 6.1.2, and 5.3.4, the URL is unescaped and normalized before any further processing.

From the CVE record by GitHub_M, last updated August 2, 2024, 14:58 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
webpackwebpack-dev-middleware>= 7.0.0, < 7.1.0
>= 6.0.0, < 6.1.2
< 5.3.4

As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npmwebpack-dev-middleware>= 7.0.0, < 7.1.07.1.0GHSA-wr3j-pwj9-hqq6
npmwebpack-dev-middleware>= 6.0.0, < 6.1.26.1.2GHSA-wr3j-pwj9-hqq6
npmwebpack-dev-middleware< 5.3.45.3.4GHSA-wr3j-pwj9-hqq6

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 21, 2024. Summary: Path traversal in webpack-dev-middleware.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
webpack.jswebpack-dev-middlewarebefore 5.3.4application
webpack.jswebpack-dev-middlewarefrom 6.0.0 before 6.1.2application
webpack.jswebpack-dev-middlewarefrom 7.0.0 before 7.1.0application

NVD analysis (status Analyzed), last modified June 17, 2026, 07:22 UTC.

How severe is CVE-2024-29180?

ScoreVersionVectorSource
High 7.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:NGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-29180 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 2, 2024)
EPSS
1.23% probability of exploitation activity in the next 30 days, percentile 69.8 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
March 18, 2024
Published
March 21, 2024, 16:47 UTC
CVE record updated
August 2, 2024, 14:58 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 07:22 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect webpack-dev-middleware?

Every CVE in webpack-dev-middleware

Questions about CVE-2024-29180

Is CVE-2024-29180 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 1.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of webpack-dev-middleware are affected by CVE-2024-29180?

webpack-dev-middleware from 7.0.0 before 7.1.0, webpack-dev-middleware from 6.0.0 before 6.1.2 and webpack-dev-middleware before 5.3.4, per the GitHub advisory GHSA-wr3j-pwj9-hqq6. The tables above give every range the sources list.

Which version fixes CVE-2024-29180?

7.1.0, 6.1.2 and 5.3.4, per the GitHub advisory GHSA-wr3j-pwj9-hqq6. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-29180?

High (7.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2024-29180?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.