CVE-2026-45623Postcss
Critical 9.1 No auth needed
Follow: this CVE · Postcss · Postcss We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 27, 2026
- Updated
- Aug 7, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. In versions 8.5.11 and prior, the PreviousMap parses the /*# sourceMappingURL=PATH */ comment from any CSS string passed to process() and dereferences PATH against the local filesystem with no scheme, allowlist, or traversal check. An attacker who controls the CSS input can cause the host process to read any file readable by Node and leak the first ~10 bytes of its content through the resulting JSON.parse SyntaxError message. The bug also yields a precise file-existence oracle and a controllable-read primitive that may be combined with large-file targets for DoS. The behaviour is triggered with PostCSS's default options — no from, no map, no plugins required — and is therefore reachable from any pipeline that runs untrusted CSS through PostCSS (CMS themes, user-uploaded styles, browser-extension/userstyle processors, build pipelines for third-party packages, blog comment renderers, etc.). This issue has been fixed in version 8.5.12.
What to do
- Apply the vendor's security update for Postcss.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | postcss |
< 8.5.12 |
8.5.12 |
npm install postcss@8.5.12 |
Per OSV / GitHub Advisories (GHSA-6g55-p6wh-862q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postcss | postcss | < 8.5.12 |
Official advisories
- Security update for golang-github-prometheus-prometheus · SUSE · SUSE-SU-2026:5448-1 · Nov 25, 2026 Critical
- Security update for Multi-Linux Manager Client Tools and Salt Bundle · SUSE · SUSE-SU-2026:5446-1 · Nov 25, 2026 Critical
- Red Hat Security Advisory: Satellite 6.19.5 Async Update · Red Hat · RHSA-2026:74503 · Nov 23, 2026 Critical
- velociraptor-0.76.7.0.git145.b60ef1146-1.1 on GA media · SUSE · openSUSE-SU-2026:12070-1 · Oct 6, 2026 Critical
- Red Hat Security Advisory: rh-podman-desktop security, bug fix, and enhancement update · Red Hat · RHSA-2026:57590 · Aug 21, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Vendor Advisory