ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-76844

webpack-dev-middleware: webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath

Important No fix available CVE-2026-76844

Details

A flaw was found in webpack-dev-middleware. An unauthenticated remote attacker can exploit this vulnerability to read arbitrary files outside the intended base directory on the host system, leading to unauthorized information disclosure. This issue occurs when the public path is configured without a trailing slash, allowing crafted Uniform Resource Locators (URLs) to bypass path traversal checks before the prefix is stripped. The vulnerability affects deployments where the middleware serves files directly from the physical filesystem.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10grafana
All versions, no fix yet
Red Hat:enterprise_linux:10grafana-selinux
All versions, no fix yet

References