Read the docs
TI-2024-19349 Aliases CVE-2024-29180GHSA-wr3j-pwj9-hqq6

webpack-dev-middleware Path Traversal vulnerability

Priority HIGH 66CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 18 fixed, 13 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01226 69th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial webpack-dev-middleware (webpack): 7.1.0, 6.1.2, 5.3.4webpack-dev-middleware (npm): 7.1.0, 6.1.2, 5.3.4Red Hat: 17 advisoriesRed Hat: 18 fixed, 13 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
webpackwebpack-dev-middleware7.0.0 to before 7.1.0; 6.0.0 to before 6.1.2; before 5.3.47.1.0, 6.1.2, 5.3.4Patch availableCNA
—webpack-dev-middleware (npm)7.0.0 to before 7.1.07.1.0Patch availableGHSA-wr3j-pwj9-hqq6
—webpack-dev-middleware (npm)6.0.0 to before 6.1.26.1.2Patch availableGHSA-wr3j-pwj9-hqq6
—webpack-dev-middleware (npm)before 5.3.45.3.4Patch availableGHSA-wr3j-pwj9-hqq6
  • webpack-dev-middleware Vendorwebpack Affected 7.0.0 to before 7.1.0; 6.0.0 to before 6.1.2; before 5.3.4 Fixed in 7.1.0, 6.1.2, 5.3.4 Patch available CNA
  • webpack-dev-middleware (npm) Vendor— Affected 7.0.0 to before 7.1.0 Fixed in 7.1.0 Patch available GHSA-wr3j-pwj9-hqq6
  • webpack-dev-middleware (npm) Vendor— Affected 6.0.0 to before 6.1.2 Fixed in 6.1.2 Patch available GHSA-wr3j-pwj9-hqq6
  • webpack-dev-middleware (npm) Vendor— Affected before 5.3.4 Fixed in 5.3.4 Patch available GHSA-wr3j-pwj9-hqq6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:webpack.js:webpack-dev-middleware:*:*:*:*:*:*:*:*before 5.3.4; 6.0.0 to before 6.1.2; 7.0.0 to before 7.1.0Vulnerablewebpack
  • cpe:2.3:a:webpack.js:webpack-dev-middleware:*:*:*:*:*:*:*:* Versions before 5.3.4; 6.0.0 to before 6.1.2; 7.0.0 to before 7.1.0 Vulnerable ·webpack

Remediation

  • Fix · CNA webpack-dev-middleware (webpack) Fixed in 7.1.0, 6.1.2, 5.3.4
  • Fix · GHSA-wr3j-pwj9-hqq6 webpack-dev-middleware (npm) Fixed in 7.1.0 Advisory →
  • Fix · GHSA-wr3j-pwj9-hqq6 webpack-dev-middleware (npm) Fixed in 6.1.2 Advisory →
  • Fix · GHSA-wr3j-pwj9-hqq6 webpack-dev-middleware (npm) Fixed in 5.3.4 Advisory →

Red Hat 17 advisories

  • RHSA-2026:61783 Released 2026-08-31 · Red Hat rating Important
    A Subscription Management tool for finding and reporting Red Hat product usage
    • Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
  • RHSA-2025:8551 Released 2025-06-04 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.14.18 Bug Fix Update
    • RHODF 4.14 for RHEL 9 odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9, odf4/odf-multicluster-console-rhel9 +1
  • RHSA-2025:8544 Released 2025-06-04 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.15.14 Bug Fix Update
    • RHODF 4.15 for RHEL 9 odf4/mcg-rhel9-operator, odf4/ocs-client-console-rhel9, odf4/odf-console-rhel9 +2
Show 14 more Red Hat advisories
  • RHSA-2024:7164 Released 2024-09-26 · Red Hat rating Important
    Migration Toolkit for Containers (MTC) 1.8.4 security and bug fix update
    • 8Base-RHMTC-1.8 rhmtc/openshift-migration-controller-rhel8, rhmtc/openshift-migration-registry-rhel8, rhmtc/openshift-migration-ui-rhel8
  • RHSA-2024:6755 Released 2024-09-18 · Red Hat rating Important
    Red Hat OpenShift Data Foundation 4.16.2 security and bug fix update
    • RHODF 4.16 for RHEL 9 odf4/cephcsi-rhel9, odf4/mcg-core-rhel9, odf4/ocs-client-console-rhel9 +7
  • RHSA-2024:4873 Released 2024-07-25 · Red Hat rating Important
    Apicurio Registry (container images) release and security update [ 2.6.1 GA ]
    • Red Hat build of Apicurio Registry 2.6.1 GA
  • RHSA-2024:4520 Released 2024-07-11 · Red Hat rating Important
    Migration Toolkit for Containers (MTC) 1.7.16 security and bug fix update
    • 8Base-RHMTC-1.7 rhmtc/openshift-migration-controller-rhel8, rhmtc/openshift-migration-registry-rhel8, rhmtc/openshift-migration-rsync-transfer-rhel8 +2
  • RHSA-2024:4460 Released 2024-07-10 · Red Hat rating Important
    Red Hat Data Grid 8.5.0 security update
    • Red Hat Data Grid
  • RHSA-2024:0041 Released 2024-06-27 · Red Hat rating Critical
    OpenShift Container Platform 4.16.0 bug fix and security update
    • Red Hat OpenShift Container Platform 4.16 openshift4/aws-kms-encryption-provider-rhel9, openshift4/azure-kms-encryption-provider-rhel9, openshift4/cloud-network-config-controller-rhel9 +47
  • RHSA-2024:3989 Released 2024-06-20 · Red Hat rating Important
    Migration Toolkit for Applications security and bug fix update
    • MTA 6.2 for RHEL 8 mta/mta-ui-rhel9, mta/mta-windup-addon-rhel9
  • RHSA-2024:3868 Released 2024-06-17 · Red Hat rating Important
    Network Observability 1.6.0 for OpenShift
    • NETOBSERV 1.6 for RHEL 9 network-observability/network-observability-cli-rhel9, network-observability/network-observability-console-plugin-rhel9, network-observability/network-observability-ebpf-agent-rhel9 +3
  • RHSA-2024:3920 Released 2024-06-13 · Red Hat rating Important
    Migration Toolkit for Runtimes security, bug fix and enhancement update
    • Migration Toolkit for Runtimes 1 on RHEL 8
  • RHSA-2024:3316 Released 2024-05-23 · Red Hat rating Important
    Migration Toolkit for Applications security and bug fix update
    • MTA 7.0 for RHEL 9 mta/mta-analyzer-addon-rhel9, mta/mta-analyzer-lsp-rhel9, mta/mta-cli-rhel9 +3
  • RHSA-2024:2941 Released 2024-05-21 · Red Hat rating Important
    RHACS 4.4 enhancement and security update
    • RHACS 4.4 for RHEL 8 advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-collector-rhel8, advanced-cluster-security/rhacs-collector-slim-rhel8 +10
  • RHSA-2024:2817 Released 2024-05-10 · Red Hat rating Important
    Errata Advisory for Red Hat OpenShift GitOps v1.10.5 security update
    • Red Hat OpenShift GitOps 1.10 openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/console-plugin-rhel8 +6
  • RHSA-2024:2816 Released 2024-05-10 · Red Hat rating Important
    Errata Advisory for Red Hat OpenShift GitOps v1.12.2 security update
    • Red Hat OpenShift GitOps 1.12 openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/console-plugin-rhel8 +6
  • RHSA-2024:2815 Released 2024-05-10 · Red Hat rating Important
    Errata Advisory for Red Hat OpenShift GitOps v1.11.4 security update
    • Red Hat OpenShift GitOps 1.11 openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/argocd-rhel8, openshift-gitops-1/console-plugin-rhel8 +6

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for VirtualizationAffectedNo fix yet
Node HealthCheck OperatorAffectedNo fix planned: Will not fix
OpenShift ServerlessAffectedNo fix yet
Red Hat 3scale API Management Platform 2AffectedNo fix planned: Will not fix
Red Hat Advanced Cluster Security 3AffectedNo fix planned: Out of support scope
Red Hat Developer Hub 1AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Integration Camel K 1AffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Red Hat OpenShift Dev SpacesAffectedNo fix yet
Red Hat Process Automation 7AffectedNo fix planned: Will not fix
Red Hat Quay 3AffectedNo fix yet
Red Hat build of OptaPlanner 8AffectedNo fix planned: Will not fix
8Base-RHMTC-1.7Fixed RHSA-2024:4520
8Base-RHMTC-1.8Fixed RHSA-2024:7164
MTA 6.2 for RHEL 8Fixed RHSA-2024:3989
MTA 7.0 for RHEL 9Fixed RHSA-2024:3316
Migration Toolkit for Runtimes 1 on RHEL 8Fixed RHSA-2024:3920
NETOBSERV 1.6 for RHEL 9Fixed RHSA-2024:3868
OpenShift Pipelines version 1.16 for RHEL 8Fixed—
RHACS 4.4 for RHEL 8Fixed RHSA-2024:2941
RHODF 4.14 for RHEL 9Fixed RHSA-2025:8551
RHODF 4.15 for RHEL 9Fixed RHSA-2025:8544
RHODF 4.16 for RHEL 9Fixed RHSA-2024:6755
Red Hat Data GridFixed RHSA-2024:4460
Red Hat Discovery 2Fixed RHSA-2026:61783
Red Hat OpenShift Container Platform 4.16Fixed RHSA-2024:0041
Red Hat OpenShift GitOps 1.10Fixed RHSA-2024:2817
Red Hat OpenShift GitOps 1.11Fixed RHSA-2024:2815
Red Hat OpenShift GitOps 1.12Fixed RHSA-2024:2816
Red Hat build of Apicurio Registry 2.6.1 GAFixed RHSA-2024:4873
Not affected: 26 products
  • 8Base-RHMTC-1.7
  • 8Base-RHMTC-1.8
  • Cryostat 2
  • Logging Subsystem for Red Hat OpenShift
  • MTA 6.2 for RHEL 8
  • MTA 7.0 for RHEL 8
  • MTA 7.0 for RHEL 9
  • Migration Toolkit for Applications 6
  • Multicluster Engine for Kubernetes
  • OpenShift Service Mesh 2
  • RHODF 4.14 for RHEL 9
  • RHODF 4.15 for RHEL 9
  • RHODF 4.16 for RHEL 9
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Discovery 1
  • Red Hat Discovery 2
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 7
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 4.16
  • Red Hat OpenShift Virtualization 4
  • Red Hat OpenShift distributed tracing 2
  • Red Hat OpenShift distributed tracing 3
  • Red Hat build of Apache Camel - HawtIO 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-29180
  2. 2026-10-03 Alias added: GHSA-wr3j-pwj9-hqq6
  3. 2026-10-08 Affected versions changed · Red Hat
  4. 2026-10-09 Fix available: Red Hat Data Grid · Red Hat
  5. 2026-10-27 Affected versions changed · Red Hat

References

Sources