{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-76844","id":"CVE-2026-76844","title":"webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath","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 f","descriptionLong":"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.","published":"2026-08-24T13:12:01.148Z","updated":"2026-11-15T02:46:54.660251822Z","reserved":"2026-08-19T20:34:19.724Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.3,"vector":"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.3,"vector":"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.3,"vector":"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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"VulnCheck"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"vulncheck.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["webpack-dev-middleware"],"affectedProducts":[{"vendor":"webpack","product":"webpack-dev-middleware","defaultStatus":"unaffected","versions":[{"version":"5.3.4","status":"affected","versionType":"semver","lessThanOrEqual":"5.3.4"},{"version":"6.1.2","status":"affected","versionType":"semver","lessThanOrEqual":"6.1.3"},{"version":"7.1.0","status":"affected","versionType":"semver","lessThan":"7.4.6"},{"version":"7.4.6","status":"unaffected","versionType":"semver"},{"version":"8.0.0","status":"affected","versionType":"semver","lessThan":"8.3.0"},{"version":"8.3.0","status":"unaffected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"webpack-dev-middleware","purl":"pkg:npm/webpack-dev-middleware","ranges":[">=8.0.0 <8.3.0","<7.4.6"],"fixed":["8.3.0","7.4.6"],"advisory":"GHSA-g84c-rxfj-3j2c"}],"cwes":["CWE-22"],"aliases":["GHSA-g84c-rxfj-3j2c"],"references":[{"url":"https://github.com/webpack/webpack-dev-middleware","tags":["product","package"]},{"url":"https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c","tags":["vendor-advisory","advisory","web"]},{"url":"https://github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359b","tags":["patch","fix","web"]},{"url":"https://github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782b","tags":["patch","fix","web"]},{"url":"https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.3.0","tags":["release-notes","advisory","web"]},{"url":"https://github.com/webpack/webpack-dev-middleware/releases/tag/v7.4.6","tags":["release-notes","advisory","web"]},{"url":"https://github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.js","tags":["technical-description","article","web"]},{"url":"https://github.com/advisories/GHSA-wr3j-pwj9-hqq6","tags":["related","advisory"]},{"url":"https://www.vulncheck.com/advisories/webpack-dev-middleware-path-traversal-via-offset-slice-on-a-non-slash-terminated-publicpath","tags":["third-party-advisory","advisory","web"]},{"url":"https://www.npmjs.com/package/webpack-dev-middleware","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76844.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76844","tags":["advisory"]},{"url":"https://github.com/webpack/webpack-dev-middleware/pull/2404","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00682,"epssPercentile":0.53217,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-76844","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76844","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-76844","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g84c-rxfj-3j2c","ok":true,"note":"GHSA-g84c-rxfj-3j2c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-76844","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}