CVE-2026-45623
published high CVSS 3.1 · 7.5PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| postcss | — | postcss< 8.5.12 | Affected | Not stated | GitHub_M |
| Red Hat Enterprise Linux | RHEL-10 | rh-podman-desktopsrc | Advisory build | 1.1.2-1.el10_2 | RHSA-2026:57590 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusaarch64 | Advisory build | 3.13.4-150100.4.43.1 | SUSE-SU-2026:5448-1 |
| Red Hat Enterprise Linux | RHEL-10 | rh-podman-desktopx86_64 | Advisory build | 1.1.2-1.el10_2 | RHSA-2026:57590 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusppc64le | Advisory build | 3.13.4-150100.4.43.1 | SUSE-SU-2026:5448-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheuss390x | Advisory build | 3.13.4-150100.4.43.1 | SUSE-SU-2026:5448-1 |
| SUSE / openSUSE | SLE-15-SP7 | golang-github-prometheus-prometheusx86_64 | Advisory build | 3.13.4-150100.4.43.1 | SUSE-SU-2026:5448-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.76.7.0.git145.b60ef1146-1.1 | OPENSUSE-SU-2026:12070-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| postcss | postcss | < 8.5.12 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
1Provider assertions
2GitHub_M · cna
PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 35e4c0f55fe46af50daf56e067c0e1cf828c90ea50d8413f7723b16c9386552f
- Ingested
- 23 Sep 2026, 09:15:56 UTC
- Source record
- Official CVE record