Skip to content

Fix React Server Components CVE vulnerabilities#68

Closed
vercel[bot] wants to merge 1 commit intomainfrom
vercel/react-server-components-cve-vu-adazty
Closed

Fix React Server Components CVE vulnerabilities#68
vercel[bot] wants to merge 1 commit intomainfrom
vercel/react-server-components-cve-vu-adazty

Conversation

@vercel
Copy link

@vercel vercel bot commented Feb 24, 2026

Important

This is an automatic PR generated by Vercel to help you with patching efforts. We can't guarantee it's comprehensive, and it may contain mistakes. Please review our guidance before merging these changes.

A critical remote code execution (RCE) vulnerability in React Server Components, impacting frameworks such as Next.js, was identified in the project spacebadgers. The vulnerability enables unauthenticated RCE on the server via insecure deserialization in the React Flight protocol.

This issue is tracked under:

This automated pull request upgrades the affected React and Next.js packages to patched versions that fully remediate the issue.

More Info | security@vercel.com

Updated dependencies to fix Next.js and React CVE vulnerabilities.

The fix-react2shell-next tool automatically updated the following packages to their secure versions:
- next
- react-server-dom-webpack
- react-server-dom-parcel  
- react-server-dom-turbopack

All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
@vercel
Copy link
Author

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spacebadgers Error Error Feb 24, 2026 7:28pm

@SplittyDev SplittyDev marked this pull request as ready for review February 24, 2026 19:27
Copilot AI review requested due to automatic review settings February 24, 2026 19:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is an automated security patch intended to remediate the React Server Components (RSC) deserialization RCE vulnerability by upgrading affected Next.js/React dependencies in badgers-web.

Changes:

  • Bump next from 15.0.3 to 15.0.7 in badgers-web/package.json.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"eslint": "8.57.0",
"eslint-config-next": "15.0.3",
"next": "15.0.3",
"next": "15.0.7",
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

next was bumped in package.json, but badgers-web/yarn.lock still resolves next@npm:15.0.3. Please regenerate and commit the lockfile update (e.g., run yarn install in badgers-web) so installs/CI are reproducible (and will pass if using yarn install --immutable).

Suggested change
"next": "15.0.7",
"next": "15.0.3",

Copilot uses AI. Check for mistakes.
Comment on lines +21 to 24
"next": "15.0.7",
"postcss": "8.4.38",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
Copy link

Copilot AI Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description says the automated fix upgrades the affected React and Next.js packages, but this diff only bumps next. Please confirm whether react/react-dom also need to be upgraded to patched builds for the referenced RSC CVEs, and update them here if so.

Copilot uses AI. Check for mistakes.
@SplittyDev SplittyDev closed this Feb 24, 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