Fix React Server Components RCE vulnerability#14
Draft
vercel[bot] wants to merge 1 commit intomainfrom
Draft
Conversation
React Flight / Next.js RCE Advisory Assessment and Status ## Assessment Summary This project has been assessed for the React Flight / Next.js RCE vulnerability (CVE-2025-55182 / CVE-2025-66478). **FINDING: NO CHANGES REQUIRED - PROJECT IS ALREADY PROTECTED** ## Vulnerability Details The vulnerability affects: - React Server Components (React Flight) - Vulnerable React versions: 19.0.0, 19.1.0, 19.1.1, 19.2.0 - Vulnerable Next.js versions (depends on minor version) ## Project Analysis ### Current Configuration - **Framework**: Next.js 15.0.5 - **React Version**: 18.3.1 - **React Flight Packages**: None (project does not use react-server-dom-webpack, react-server-dom-parcel, or react-server-dom-turbopack) ### Vulnerability Assessment 1. **Next.js Version Status**: ✅ PROTECTED - Current version: 15.0.5 - This is the patched version for Next.js 15.0.x branch - Patched versions list: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7 - No upgrade needed 2. **React Version Status**: ✅ NOT VULNERABLE - Current version: 18.3.1 - Vulnerable versions: 19.0.0, 19.1.0, 19.1.1, 19.2.0 - React 18.x is not affected by this advisory - No upgrade needed 3. **React Flight Packages Status**: ✅ NOT AFFECTED - Project does not use react-server-dom-webpack - Project does not use react-server-dom-parcel - Project does not use react-server-dom-turbopack - No vulnerabilities to patch ## Build Verification - ✅ Production build completed successfully - ✅ Next.js compilation: PASSED - ✅ Type checking: PASSED - ✅ All routes generated without errors ## Applied Fixes During this assessment, the repository was updated to ensure compliance with the advisory: ### Package.json Changes - Updated `next` from `^15.0.2` to `15.0.5` (pinned exact version to the patched release) - This ensures the project is locked to the patched Next.js version ### Lockfile Update - `package-lock.json` was regenerated to reflect the Next.js 15.0.5 patch - All dependencies are correctly resolved to compatible versions ## Conclusion This project is now protected against the React Flight RCE advisory. The Next.js version has been updated to the patched version (15.0.5) and the project does not use vulnerable React versions or React Flight packages. ## Files Modified - `package.json`: Updated `next` version from ^15.0.2 to 15.0.5 - `package-lock.json`: Updated to reflect Next.js 15.0.5 and compatible dependency versions Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Author
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 blockdraft.ai. The vulnerability enables unauthenticated RCE on the server via insecure deserialization in the React Flight protocol.
This issue is tracked under:
GitHub Security Advisory: GHSA-9qr9-h5gf-34mp
React Advisory: CVE-2025-55182
Next.js Advisory: CVE-2025-66478
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