Skip to main content
Public proof of conceptFix available

CVE-2026-45623

A public proof of concept exists; no exploitation attested.

  • Published2026-07-27
  • Fixed in8.5.12
  • WeaknessCWE-200 · CWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-07-2718:16CVE publishedNVD

Versions per branch

NVD · OSV
Postcss
BranchAffectedFixed in
8.5< 8.5.128.5.12

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • postcss
    Affected
    • = < 8.5.12no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-07-27

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/postcssRoot:npmall versions · fixed in 8.4.49-root.io.4
  • @rootio/postcssRoot:npmall versions · fixed in 5.2.18-root.io.4
  • @rootio/postcssRoot:npmall versions · fixed in 5.2.18-root.io.5
  • @rootio/postcssRoot:npmall versions · fixed in 6.0.1-root.io.1
  • @rootio/postcssRoot:npmall versions · fixed in 6.0.1-root.io.2
  • @rootio/postcssRoot:npmall versions · fixed in 6.0.23-root.io.2
  • @rootio/postcssRoot:npmall versions · fixed in 6.0.23-root.io.3
  • @rootio/postcssRoot:npmall versions · fixed in 7.0.32-root.io.1

162 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-45623 Red Hat Product Security198 products fixed · 29 known affected

    postcss: PostCSS: Information disclosure and denial of service via crafted CSS input

    rhmtc/openshift-migration-ui-rhel8 as a component of Migration Toolkit for Containers · workload-availability/node-healthcheck-must-gather-rhel9 as a component of Node HealthCheck Operator · workload-availability/node-healthcheck-operator-bundle as a component of Node HealthCheck Operator · +26 more

  • RHSA-2026:84734 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHOAI 3.4.5 - Red Hat OpenShift AI

  • RHSA-2026:83598 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: RHTAS 1.4.4 - Red Hat Trusted Artifact Signer Release

  • RHSA-2026:74621 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: General availability of the satellite/iop-advisor-frontend-rhel9 container image

  • RHSA-2026:74609 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Cluster Observability Operator 1.5.3

  • RHSA-2026:74503 Red Hat Product Security15 products fixed

    Red Hat Security Advisory: Satellite 6.19.5 Async Update

35 more advisories

Full record on NVD

Fix

  1. Update Postcss to 8.5.12
  2. Vendor fix Red Hat Product Security RHSA-2026:84734 · 4 productsFor Red Hat OpenShift AI 3.4.5 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  3. Vendor fix Red Hat Product Security RHSA-2026:83598 · 1 productRed Hat Trusted Artifact Signer simplifies cryptographic signing and verifying of software artifacts such as container images, binaries and source code changes. It is a self-managed on-premise deployment of the Sigstore project available at https://sigstore.dev Platform Engineers, Software Develop…
  4. Vendor fix Red Hat Product Security RHSA-2026:74621 · 1 productFor Red Hat Lightspeed in Satellite installation see the Red Hat Satellite documentation.
  5. Vendor fix Red Hat Product Security RHSA-2026:74609 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  6. Vendor fix Red Hat Product Security RHSA-2026:74503 · 20 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_satellite/6.19/html/updating_red_hat_satellite/index
  7. Vendor fix Red Hat Product Security RHSA-2026:70587 · 4 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-07-27
  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.19.1read 2026-10-23
  • NVDweakness (CWE)CWE-200, CWE-22read 2026-10-23
  • FIRST EPSSEPSS score0.6 %2026-12-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2026-07-23

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published
2026-07-27
Last modified
2026-08-07
NVD status
Analyzed
GitHub advisory
GHSA-6g55-p6wh-862q

Frequently asked questions

What is CVE-2026-45623?

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.

Is CVE-2026-45623 actively exploited?

A proof-of-concept exploit exists for CVE-2026-45623, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-45623?

CVE-2026-45623 has a CVSS v3 base score of 9.1 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Running postcss? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record