CVE-2026-76844 webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath
HighCVSS 8.3
EPSS 0.68%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/redhat-datagrid-maven-repository.zip(Red Hat:jboss_data_grid:8) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1788206196(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/rhmtc/openshift-migration-ui-rhel8:1789546373(Red Hat:rhmt:1.8::el8) | All versions | No fix listed |
| redhat/rhoai/odh-feature-server-rhel9:1792685074(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-must-gather-rhel9(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-operator-bundle(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-healthcheck-rhel9-operator(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/workload-availability/node-remediation-console-rhel8(Red Hat:workload_availability_nhc:0) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-console-plugin-pf5-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-console-plugin-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat:openshift_pipelines:1) | All versions | No fix listed |
| redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/lightspeed-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/rhaf-hawtio-maven-repository.zip(Red Hat:apache_camel_hawtio:4) | All versions | No fix listed |
| redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/rhceph/rhceph-4-dashboard-rhel8(Red Hat:ceph_storage:4) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/webpack-dev-middleware(Red Hat:jboss_fuse:7) | All versions | No fix listed |
Show 35 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhoai/odh-mlflow-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/microshift-gitops(Red Hat:openshift_gitops:1) | All versions | No fix listed |
| redhat/external-secrets-management/console-plugin-rhel9(Red Hat:secrets_management_console:0) | All versions | No fix listed |
| npm webpack-dev-middleware(npm) | >= 8.0.0, < 8.3.0 | 8.3.0 |
| npm webpack-dev-middleware(npm) | < 7.4.5 | 7.4.5 |
| npm webpack-dev-middleware(npm) | >= 5.3.4, <= 5.3.4 | No fix listed |
| npm webpack-dev-middleware(npm) | >= 6.1.2, <= 6.1.3 | No fix listed |
| npm webpack-dev-middleware(npm) | >= 7.1.0, < 7.4.6 | 7.4.6 |
| debian/zlib(Debian:12) | All versions | No fix listed |
| debian/zlib(Debian:12) | = 1:1.2.13.dfsg-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.2.13.dfsg-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.2.13.dfsg-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.1-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.1-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.1-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-4 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-3.1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-3.1~exp1 | No fix listed |
| debian/zlib(Debian:13) | < 1:1.3.dfsg+really1.3.1-1+deb13u1 | 1:1.3.dfsg+really1.3.1-1+deb13u1 |
| debian/zlib(Debian:13) | = 1:1.3.dfsg+really1.3.1-1 | No fix listed |
| debian/zlib(Debian:14) | < 1:1.3.dfsg+really1.3.2-4 | 1:1.3.dfsg+really1.3.2-4 |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.1-1 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.1-2 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.1-3 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.2-1 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.2-2 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.2-3 | No fix listed |
| azure linux zlib(Azure Linux:3.0) | < 1.3.2-2 | 1.3.2-2 |
| npm webpack-dev-middleware(npm) | < 7.4.6 | 7.4.6 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Technical report and proof of concept exploit technical-description
- Patch Commit patch
- github.com technical-description
- github.com product
- VulnCheck Advisory: zlib 1.3.1.2 through 1.3.2 Heap Buffer Overflow via gz_vacate third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:69296 patch vendor-advisory
- RHSA-2026:61783 patch vendor-advisory
- RHSA-2026:68681 patch vendor-advisory
- RHSA-2026:92510 patch vendor-advisory
- Red Hat Bugzilla 2521896 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com related vendor-advisory
- github.com product
- github.com technical-description
- VulnCheck Advisory: webpack-dev-middleware Path Traversal via Offset Slice on a Non-Slash-Terminated publicPath third-party-advisory
- GitHub Security Advisory (GHSA-g84c-rxfj-3j2c) vendor-advisory
- github.com patch
- Patch Commit patch
- Patch Commit patch
- Release Notes release-notes
- Release Notes release-notes
- github.com
- Debian Security Tracker CVE-2026-76844 vendor-advisory
- bugs.debian.org issue-tracking