cve.bz

CVE-2026-45623 postcss postcss: Path traversal

9.1 criticalExploit referenceEPSS 0.6%Fix available

Critical (9.1) in postcss postcss. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in postcss 8.5.12.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-07-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-45623 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-45623?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-45623?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-45623 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postcss:postcssbefore 8.5.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6g55-p6wh-862qnpmpostcss<8.5.128.5.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-postcssno fix listedDEBIAN-CVE-2026-45623
Debian14node-postcss8.5.12+~cs9.3.32-1DEBIAN-CVE-2026-45623
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 2 morenode-postcssno fix listedUBUNTU-CVE-2026-45623
Red Hatenterprise_linux:10.2rh-podman-desktop0:1.1.2-1.el10_2RHSA-2026:57590
openSUSETumbleweedvelociraptor0.76.7.0.git145.b60ef1146-1.1openSUSE-SU-2026:12070-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rh-podman-desktop-0:1.1.2-1.el10_2Fixed 2026-08-20RHSA-2026:57590
Red Hat Satellite 6.19 for RHEL 9foreman-0:3.18.0.14-1.el9satFixed 2026-10-01RHSA-2026:74503
Cluster Observability Operator 1.5cluster-observability-operator/prometheus-rhel9:1790857922Fixed 2026-10-01RHSA-2026:74609
multicluster engine for Kubernetes 2.11multicluster-engine/console-mce-rhel9:1786911977Fixed 2026-08-19RHSA-2026:57194
multicluster engine for Kubernetes 2.17multicluster-engine/console-mce-rhel9:1786668856Fixed 2026-08-25RHSA-2026:59593
multicluster engine for Kubernetes 2.8multicluster-engine/console-mce-rhel9:1787259048Fixed 2026-08-25RHSA-2026:59558
multicluster engine for Kubernetes 2.9multicluster-engine/console-mce-rhel9:1787079359Fixed 2026-08-25RHSA-2026:59559
Red Hat Advanced Cluster Management for Kubernetes 2.11rhacm2/console-rhel9:1787687062Fixed 2026-08-26RHSA-2026:60387
Red Hat Advanced Cluster Management for Kubernetes 2.13rhacm2/console-rhel9:1787339249Fixed 2026-08-26RHSA-2026:60390
Red Hat Advanced Cluster Management for Kubernetes 2.14rhacm2/console-rhel9:1787339248Fixed 2026-08-26RHSA-2026:60388
Cryostat 4cryostat-openshift-console-plugin-npmNot affected
Cryostat 4grafana-infinity-datasource-npmNot affected
Cryostat 4postcssNot affected
Gatekeeper 3gatekeeper/gatekeeper-rhel9Not affected
Migration Toolkit for Containersrhmtc/openshift-migration-ui-rhel8Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-console-rhel9Affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-console-plugin-419-rhel9Not affected
114 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-45623.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON