{
  "id": "CVE-2026-76844",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-76844",
  "published_at": "2026-08-24T13:12:01.148Z",
  "title": "webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath",
  "vendor": "webpack",
  "product": "webpack-dev-middleware",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 files one directory above the output directory when the middleware serves from the physical filesystem through writeToDisk or a custom outputFileSystem.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "webpack",
        "product": "webpack-dev-middleware",
        "ranges": [
          "\u003e= 5.3.4, \u003c= 5.3.4",
          "\u003e= 6.1.2, \u003c= 6.1.3",
          "\u003e= 7.1.0, \u003c 7.4.6",
          "\u003e= 8.0.0, \u003c 8.3.0"
        ],
        "fixed_in": [
          "7.4.6",
          "8.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade webpack-dev-middleware to 7.4.6 or 8.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359b"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782b"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.3.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/webpack/webpack-dev-middleware/releases/tag/v7.4.6"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/advisories/GHSA-wr3j-pwj9-hqq6"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
