PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-76844 webpack CVE debrief

CVE-2026-76844 was assigned to a path traversal vulnerability in webpack-dev-middleware. When the configured publicPath does not end in a slash, an unauthenticated request can read files outside the output root. Applications serving webpack-dev-middleware with a publicPath that does not end in a slash are affected. The vulnerability allows an unauthenticated request to read files outside the output root when the publicPath does not end in a slash. Affected applications serve webpack-dev-middleware directly or via webpack-dev-server with a vulnerable publicPath configuration.

Vendor
webpack
Product
webpack-dev-middleware
CVSS
HIGH 8.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-09-29
Original CVE updated
2026-11-14
Advisory published
2026-09-29
Advisory updated
2026-11-14

Who should care

Defenders responsible for applications serving webpack-dev-middleware directly or via webpack-dev-server should assess exposure and verify the publicPath configuration. They should prioritize verifying the publicPath configuration in webpack-dev-middleware and updating to a fixed version if necessary. Operators, platform administrators, vulnerability managers, and security teams should review the publicPath configuration and output directory configuration.

Why it matters

CVE-2026-76844 is a high-severity vulnerability in webpack-dev-middleware that allows an unauthenticated request to read files outside the output root when the publicPath does not end in a slash. Defenders should prioritize verifying the publicPath configuration and updating to a fixed version if necessary.

  • Unauthenticated file read outside the output root
  • Potential data exposure through file contents
  • Need to verify publicPath configuration and output directory

Technical summary

The webpack-dev-middleware resolves a request to a local file in getFilenameFromUrl. When the configured publicPath has no trailing slash, a request that shares that prefix without being under it can escape the configured output directory once joined. This allows an unauthenticated request to read files outside the output root when the publicPath does not end in a slash. Affected applications serve webpack-dev-middleware directly or via webpack-dev-server with a vulnerable publicPath configuration. The vulnerability allows an unauthenticated request to read files outside the output root.

Defensive priority

Defenders should prioritize verifying the publicPath configuration in webpack-dev-middleware and updating to a fixed version if necessary.

Recommended defensive actions

  • Verify the publicPath configuration in webpack-dev-middleware
  • Update to a fixed version if necessary
  • Review and adjust the output directory configuration
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The vulnerability allows an unauthenticated request to read files outside the output root when the publicPath does not end in a slash. Affected applications serve webpack-dev-middleware directly or via webpack-dev-server with a vulnerable publicPath configuration.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-76844 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-76844

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-76844 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-76844

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/npm/GHSA-g84c-rxfj-3j2c.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/webpack/webpack-dev-middleware/pull/2404

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359b

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782b

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/advisories/GHSA-wr3j-pwj9-hqq6

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/webpack/webpack-dev-middleware

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.js

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.