{"id":"CVE-2026-73646","published":"2026-08-17T15:35:13Z","modified":"2026-08-17T16:36:37Z","title":"PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure","vendor":"postcss","product":"postcss","tier":"tail","description":{"text":"PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Prior to 8.5.18, lib/previous-map.js loadMap() passes attacker-controlled sourceMappingURL values to join(dirname(opts.from), annotation), and loadFile() permits traversed or absolute .map paths, allowing untrusted CSS processed without map: false to disclose sourcesContent from arbitrary reachable .map files through result.map. This issue is fixed in version 8.5.18.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.45716,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/postcss/postcss/security/advisories/GHSA-r28c-9q8g-f849","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760cf56c","tags":["x_refsource_MISC"]},{"url":"https://github.com/postcss/postcss/releases/tag/8.5.18","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":9.14},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"postcss","affectedVersions":[{"vendor":"postcss","product":"postcss","versions":["< 8.5.18"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-17T16:35:17.036116Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"postcss","vulnerableRanges":["<8.5.18"],"patched":["8.5.18"],"from":["GHSA-r28c-9q8g-f849"],"provenance":"source"}],"summary":{"text":"An attacker who can supply CSS that PostCSS processes without map: false, with no authentication or user interaction required over the network, can cause arbitrary reachable .map files to be read and their sourcesContent disclosed through result.map.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:22Z"},"euvd":{"id":"EUVD-2026-60239","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-postcss-cve-2021-23368","parents":[{"from":"CVE-2026-45623","to":"CVE-2026-73646","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:postcss","fromFixed":"8.5.12","toFixed":"8.5.18","daysApart":21},{"kind":"same-code","provenance":"machine","files":["lib/postcss.d.ts","lib/previous-map.js"],"commits":["https://github.com/postcss/postcss/commit/aaec7b78b3ce2792585b4b300ef1bd5dd5b3e8ad","https://github.com/postcss/postcss/commit/c64b7488d2731dfa16213739b42c34faf5a9eba3","https://github.com/postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760cf56c"],"basis":"shared function","functions":["PreviousMap"]},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2021-23368","to":"CVE-2026-73646","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/previous-map.js"],"commits":["https://github.com/postcss/postcss/commit/b6f3e4d5a8d7504d553267f80384373af3a3dec5","https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4","https://github.com/postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760cf56c"],"basis":"shared function","functions":["PreviousMap"]}]},{"from":"CVE-2021-23382","to":"CVE-2026-73646","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/previous-map.js"],"commits":["https://github.com/postcss/postcss/commit/2b1d04c867995e55124e0a165b7c6622c1735956","https://github.com/postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760cf56c"],"basis":"shared function","functions":["PreviousMap"]}]}],"packageHistory":[{"cve":"CVE-2023-44270","published":"2023-09-29","fixed":"8.4.31","kev":false},{"cve":"CVE-2026-41305","published":"2026-04-24","fixed":"8.5.10","kev":false},{"cve":"CVE-2026-45623","published":"2026-07-27","fixed":"8.5.12","kev":false},{"cve":"CVE-2026-73646","published":"2026-08-17","fixed":"8.5.18","kev":false},{"cve":"CVE-2026-69153","published":"2026-08-03","fixed":"8.5.23","kev":false}],"package":"npm:postcss"}}