Quick answers
- Is CVE-2026-73646 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-73646 being exploited in the wild.
- How severe is CVE-2026-73646?
- High severity, with a CVSS score of 7.5, published 17 August 2026.
- Which products and versions are affected?
- postcss (npm) SEMVER:introduced=0,fixed=8.5.18.
- Is there a fix for CVE-2026-73646?
- Yes. postcss (npm): upgrade to 8.5.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-73646 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-73646?
- Check whether you run postcss (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- postcss (npm): upgrade to 8.5.18 or later
npm install postcss@8.5.18
Technical details
The vulnerability exists in PostCSS's lib/previous-map.js file (lines 87-98 and 129-144). PostCSS auto-detects /*# sourceMappingURL=... */ comments in CSS and by default (opt-out, not opt-in) attempts to load the referenced path from disk as a "previous source map." The loadMap() function constructs a candidate path using path.join(dirname(opts.from), annotation), where annotation is the raw, untrusted string from the CSS comment. Since path.join() does not sandbox .. segments, an attacker can use ../../../ prefixes to traverse outside the intended directory. A prior fix in version 8.5.12 required the resolved path to end in .map but did not address the traversal logic itself. If opts.from is not set, absolute paths in the CSS comment are read verbatim. The loaded map's sourcesContent field (if present) is merged into result.map and returned to the caller, disclosing the traversed file's contents. Attack requires only the ability to submit CSS text to an application using PostCSS; no authentication or user interaction is required. The fix constrains the resolved path to remain within the CSS file's directory using proper path resolution and verification.
Affected products
- PostCSS PostCSS <=8.5.17
Identifiers
- CVE-2026-73646
- GHSA-r28c-9q8g-f849
Timeline
- 2026-07-24: disclosed
- 2026-07-20: patched: version 8.5.18