Files
vuln-cve/data/2026/76xxx/CVE-2026-76844.json
T

269 lines
12 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-76844",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"state": "PUBLISHED",
"assignerShortName": "VulnCheck",
"dateReserved": "2026-08-19T20:34:19.724Z",
"datePublished": "2026-08-24T13:12:01.148Z",
"dateUpdated": "2026-11-13T14:15:54.676Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-11-13T14:15:54.676Z"
},
"datePublic": "2026-08-20T00:00:00.000Z",
"title": "webpack-dev-middleware before 7.4.6 and 8.3.0 Path Traversal via Non-Slash-Terminated publicPath",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"cweId": "CWE-22",
"description": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"type": "CWE"
}
]
}
],
"affected": [
{
"vendor": "webpack",
"product": "webpack-dev-middleware",
"collectionURL": "https://www.npmjs.com/package/webpack-dev-middleware",
"packageName": "webpack-dev-middleware",
"packageURL": "pkg:npm/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"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:webpack.js:webpack-dev-middleware:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.3.4",
"versionEndIncluding": "5.3.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:webpack.js:webpack-dev-middleware:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.1.2",
"versionEndIncluding": "6.1.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:webpack.js:webpack-dev-middleware:*:*:*:*:*:*:*:*",
"versionStartIncluding": "7.1.0",
"versionEndExcluding": "7.4.6"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:webpack.js:webpack-dev-middleware:*:*:*:*:*:*:*:*",
"versionStartIncluding": "8.0.0",
"versionEndExcluding": "8.3.0"
}
]
}
]
}
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"version": "4.0",
"vectorString": "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",
"baseScore": 8.3,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"userInteraction": "PASSIVE",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "NONE",
"vulnAvailabilityImpact": "NONE",
"subConfidentialityImpact": "HIGH",
"subIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE"
}
},
{
"format": "CVSS",
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
"baseScore": 7.4,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
}
}
],
"references": [
{
"url": "https://github.com/webpack/webpack-dev-middleware",
"tags": [
"product"
]
},
{
"url": "https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c",
"name": "GitHub Security Advisory (GHSA-g84c-rxfj-3j2c)",
"tags": [
"vendor-advisory"
]
},
{
"url": "https://github.com/webpack/webpack-dev-middleware/commit/13344e78b26d88fe9b7c8381a3860e248a52359b",
"name": "Patch Commit",
"tags": [
"patch"
]
},
{
"url": "https://github.com/webpack/webpack-dev-middleware/commit/cefccbac330c29052fc6dffe85fd292ea2ac782b",
"name": "Patch Commit",
"tags": [
"patch"
]
},
{
"url": "https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.3.0",
"name": "Release Notes",
"tags": [
"release-notes"
]
},
{
"url": "https://github.com/webpack/webpack-dev-middleware/releases/tag/v7.4.6",
"name": "Release Notes",
"tags": [
"release-notes"
]
},
{
"url": "https://github.com/webpack/webpack-dev-middleware/blob/v8.1.1/src/middleware.js",
"tags": [
"technical-description"
]
},
{
"url": "https://github.com/advisories/GHSA-wr3j-pwj9-hqq6",
"tags": [
"related"
]
},
{
"name": "VulnCheck Advisory: webpack-dev-middleware Path Traversal via Offset Slice on a Non-Slash-Terminated publicPath",
"tags": [
"third-party-advisory"
],
"url": "https://www.vulncheck.com/advisories/webpack-dev-middleware-path-traversal-via-offset-slice-on-a-non-slash-terminated-publicpath"
}
],
"credits": [
{
"lang": "en",
"value": "Muhammad Sobirov",
"type": "finder"
}
],
"x_generator": {
"engine": "vulncheck-endgame"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2026-08-26T18:22:33.313523Z",
"id": "CVE-2026-76844",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-08-26T18:22:44.932Z"
}
}
]
}
}