[ CVE-2026-76844 · Published 24 Aug 2026 ]

webpack-dev-middleware vulnerable to Path Traversal via non-slash-terminated publicPath

CVSS 7.4 EPSS <1%Fix available

[ Why it matters ]Priority signals

  • Public proof-of-concept exploit exists (CISA SSVC)

[ Description ]Official description

zlib 1.2.11 through 1.3.2 contains a heap buffer overflow: after an underlying write() fails, gz_write() returns without resetting strm.next_in, leaving it pointed at the caller's buffer. A later gz* write call then derives a position from the stale pointer and writes past a heap allocation; any write() failure reaches it, including EPIPE on a blocking descriptor, and in versions before 1.3.1.2 the failed write must be followed by a gzclearerr() call.

[ Fixes ]Fixes and patches

  • webpack-dev-middleware 8.3.0Fixed version · GitHub Advisories · npm package webpack-dev-middleware: upgrade to 8.3.0 or later (affected >= 8.0.0, < 8.3.0)
  • webpack-dev-middleware 7.4.6Fixed version · GitHub Advisories · npm package webpack-dev-middleware: upgrade to 7.4.6 or later (affected < 7.4.5)

[ Packages ]Affected open-source packages