Critical
React Server Components Remote Code Execution Vulnerability
React
What happened
A flaw allows an attacker to execute arbitrary code via crafted responses when using React Server Components in certain React versions.
Are you affected?
React and its server-dom packages (react-server-dom-webpack, react-server-dom-parcel, react-server-dom-turbopack) may be affected if your application uses React Server Components and runs any of the following version ranges: 19.0.0–19.0.9, 19.1.0–19.1.10, 19.2.0–19.2.9, or 19.3.0–19.3.1.
What to do now
- Upgrade React to at least 19.0.9, 19.1.10, 19.2.9, or 19.3.1.
- Upgrade all server-dom packages to the corresponding patched versions.
- Verify that your application is not using server components unless absolutely necessary.
Sources
- cve.now/CVE-2026-126187
- cve.now/GHSA-XQC2-XF4C-X3H3
- CVE-2026-126187
- GHSA-XQC2-XF4C-X3H3
- https://github.com/react/react/security/advisories/GHSA-xqc2-xf4c-x3h3
- https://github.com/react/react/pull/37842
- https://github.com/react/react/pull/37843
- https://github.com/react/react/pull/37844
- https://github.com/react/react/pull/37845
- https://github.com/react/react/pull/37846
- https://github.com/react/react/commit/0c9913ae87283f96e868a8f1c20a3389827632d0
- https://github.com/react/react/commit/249ac87b0dadea4ba024d1393e5cb60cf1186080
- https://github.com/react/react/commit/3d06b4005ac0cf9dec37267f26174adfe6d83611
- https://github.com/react/react/commit/611d9217df39cf7b8ac91b2e41fd00555923e904
- https://github.com/react/react/commit/61aa00df822d0eb76d0362eb8b6fdd3527693efe
- https://github.com/react/react/releases/tag/v19.0.9
- https://github.com/react/react/releases/tag/v19.1.10
- https://github.com/react/react/releases/tag/v19.2.9
- https://github.com/react/react/releases/tag/v19.3.1
- https://github.com/TahuCryptsi/poc-cve-2026-126187-rsc-usecache-rce
- https://github.com/briskets/CVE-2026-126187-poc
- https://github.com/rudSarkar/GHSA-673q-mjm6-r5xr
Data sources: cve.now, CISA KEV, GitHub Advisory Database, OSV.
This product uses data from the NVD API but is not endorsed or certified by the NVD.
Not sure if your app is affected?
Get a free Finish Line Scan and a senior engineer will tell you what to fix.
Get a free scan