Skip to content

fix(security): patch React Server Components RCE (CVE-2025-55182)#2

Merged
mistyle merged 1 commit into
mainfrom
fix/react-rsc-cve-2025-55182
May 19, 2026
Merged

fix(security): patch React Server Components RCE (CVE-2025-55182)#2
mistyle merged 1 commit into
mainfrom
fix/react-rsc-cve-2025-55182

Conversation

@mistyle

@mistyle mistyle commented May 19, 2026

Copy link
Copy Markdown
Owner

This pull request was created by @kiro-agent on behalf of @mistyle 👻

Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent


Summary

Fixes the critical Remote Code Execution (RCE) vulnerability in React Server Components by upgrading the minimum required versions of react and react-dom from ^19.2.0 to ^19.2.1.

This addresses:

  • CVE-2025-55182 - React Server Components RCE via insecure deserialization in the React Flight protocol (CVSS 10.0)
  • CVE-2025-66478 - Next.js RCE in React Flight protocol (duplicate of above)

Changes

  • package.json: Bumped react and react-dom minimum from ^19.2.0 to ^19.2.1
  • pnpm-lock.yaml: Updated specifiers to match (resolved version 19.2.4 unchanged)

Context

This is equivalent to the fix proposed in justnode/better-saas#22 (auto-generated by Vercel bot).

React 19.2.0 allows unauthenticated RCE on the server via insecure deserialization in the React Flight protocol. Version 19.2.1+ contains the fix.

References

Bump minimum react and react-dom versions from ^19.2.0 to ^19.2.1
to remediate the critical RCE vulnerability in React Server Components
(CVE-2025-55182 / CVE-2025-66478, CVSS 10.0).

React 19.2.0 is vulnerable to unauthenticated remote code execution
via insecure deserialization in the React Flight protocol.

References:
- GHSA-9qr9-h5gf-34mp
- https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components
- https://nextjs.org/blog/CVE-2025-66478

Co-authored-by: 帅 <aaplp@qq.com>
@mistyle mistyle merged commit dbad270 into main May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants