Fix React Server Components RCE vulnerability#1
Draft
vercel[bot] wants to merge 1 commit intomainfrom
Draft
Conversation
React Flight / Next.js RCE Advisory Mitigation
AFFECTED: This project uses Next.js 15.3.x and is affected by the React Flight / Next.js RCE advisory.
CHANGES MADE:
1. Updated package.json:
- Next.js: 15.3.0 → 15.3.6 (patched version)
- eslint-config-next: 15.3.0 → 15.3.6 (matching version)
2. Updated pnpm-lock.yaml:
- Updated specifiers and versions for next and eslint-config-next from 15.3.0 to 15.3.6
- Updated integrity hashes:
* next@15.3.6: sha512-oI6D1zbbsh6JzzZFDCSHnnx6Qpvd1fSkVJu/5d8uluqnxzuoqtodVZjYvNovooznUq8udSAiKp7MbwlfZ8Gm6w==
* eslint-config-next@15.3.6: sha512-UylZINx8zjSgKHFn60h6Pjwgb40xkJ1ip9jfJ5t7D9/TJNnBIMoH5MtDWdEMatby3jiUB3twvk5cZgtOGOh9Qg==
- Updated all @next/* packages to version 15.3.6:
* @next/env
* @next/eslint-plugin-next
* @next/swc-darwin-arm64
* @next/swc-darwin-x64
* @next/swc-linux-arm64-gnu
* @next/swc-linux-arm64-musl
* @next/swc-linux-x64-gnu
* @next/swc-linux-x64-musl
* @next/swc-win32-arm64-msvc
* @next/swc-win32-x64-msvc
- Updated dependency references in importers section to point to patched versions
ADVISORY COMPLIANCE:
✓ Project detected as using Next.js 15.3.x (vulnerable)
✓ No React Flight packages (react-server-dom-*) found - not applicable
✓ Upgraded to correct patched version: Next.js 15.3.0 → 15.3.6
✓ React and React-dom left as-is (^19.0.0) as per advisory guidance (Next.js manages these)
✓ Lockfile updated with patched version integrity hashes
✓ All references updated consistently across lockfile
TESTING NOTES:
The project contains a private package (@melony/ui) that is not available in the public npm registry.
This prevents full dependency installation in this environment but does not affect the validity of
the advisory mitigation. The package.json and pnpm-lock.yaml files have been correctly updated to
specify the patched Next.js 15.3.6 version. Once the private package is available or in an
environment with proper access, the standard `pnpm install` command will resolve all dependencies
to the patched version.
The changes follow the advisory exactly:
- Only affected packages (Next.js 15.3.x) were upgraded
- Upgrade was to the correct minor version patch (15.3.6)
- No unnecessary version bumps across major/minor versions
- React/React-dom not manually updated (Next.js provides correct 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 melony.dev. 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