Skip to content

Fix React Server Components CVE vulnerabilities#10

Draft
vercel[bot] wants to merge 1 commit intomasterfrom
vercel/react-server-components-cve-vu-dyx6w4
Draft

Fix React Server Components CVE vulnerabilities#10
vercel[bot] wants to merge 1 commit intomasterfrom
vercel/react-server-components-cve-vu-dyx6w4

Conversation

@vercel
Copy link

@vercel vercel bot commented Dec 19, 2025

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 7419tech. 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 Dec 19, 2025

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

Project Deployment Review Updated (UTC)
7419tech Ready Ready Preview, Comment Dec 19, 2025 9:11pm

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 automated pull request addresses critical security vulnerabilities in React Server Components (CVE-2025-55182 and CVE-2025-66478) by upgrading Next.js from version ^15.0.3 to 15.0.7. The update includes corresponding changes to the dependency tree.

  • Upgrades Next.js to patched version 15.0.7
  • Updates Next.js SWC compiler binaries to version 15.0.5
  • Downgrades Sharp image processing library from 0.34.x to 0.33.x (compatibility requirement)

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates Next.js version from ^15.0.3 to pinned 15.0.7
package-lock.json Updates lockfile with new Next.js version, SWC binaries at 15.0.5, Sharp downgraded to 0.33.5, adds new dependencies (busboy, @swc/counter, color utilities), and removes some optional Sharp platform binaries

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

"framer-motion": "^11.12.0",
"lucide-react": "^0.456.0",
"next": "^15.0.3",
"next": "15.0.7",
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

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

The Next.js version has been changed from a flexible range ^15.0.3 to an exact pinned version 15.0.7. This removes the caret (^) operator, which means future patch updates will not be automatically applied. Consider using ^15.0.7 instead to allow automatic patch updates for future security fixes while staying within the 15.0.x range.

Suggested change
"next": "15.0.7",
"next": "^15.0.7",

Copilot uses AI. Check for mistakes.
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.

1 participant