{"id":"DHI-df5q-7c73-zslc-o53k","summary":"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…","details":"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.","modified":"2026-11-19T22:45:10.064439480Z","published":"2026-11-19T22:32:30Z","upstream":["CVE-2026-76844"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-df5q-7c73-zslc-o53k"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76844"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-76844"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g84c-rxfj-3j2c"},{"type":"ADVISORY","url":"https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wr3j-pwj9-hqq6"},{"type":"FIX","url":"https://github.com/webpack/webpack-dev-middleware/pull/2404"},{"type":"FIX","url":"https://github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782b"},{"type":"FIX","url":"https://github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359b"},{"type":"FIX","url":"https://github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.js"},{"type":"WEB","url":"https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.3.0"},{"type":"WEB","url":"https://github.com/webpack/webpack-dev-middleware/releases/tag/v7.4.6"}],"affected":[{"package":{"name":"zlib","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/zlib"},"versions":["1:1.3.dfsg+really1.3.1-1+deb13u1+dhi0","1:1.3.dfsg+really1.3.1-1+dhi2","1:1.3.dfsg+really1.3.1-1+dhi3","1:1.3.dfsg+really1.3.1-1+dhi4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-df5q-7c73-zslc-o53k.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}