Skip to content

Conversation

@vercel
Copy link

@vercel vercel bot commented Dec 8, 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 aiex. 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

## React Flight / Next.js RCE Advisory Security Update

### Summary
Updated the aiex repository to address the React Flight / Next.js RCE advisory by upgrading Next.js to a patched version.

### Vulnerability Assessment
- **Project Type**: Next.js application (single package.json)
- **Affected**: ✓ Yes - Uses Next.js 15.5.6
- **React Flight Packages**: ✗ No - Not using react-server-dom-webpack, react-server-dom-parcel, or react-server-dom-turbopack
- **Action Taken**: Upgraded Next.js only (React/React-DOM not modified per Next.js update guidelines)

### Changes Made

#### Modified Files
1. **package.json**
   - Upgraded `next` from `15.5.6` to `15.5.7` (patched version)
   - No changes to `react` or `react-dom` - Next.js handles React dependency versioning

2. **package-lock.json**
   - Automatically updated to reflect Next.js 15.5.7 installation
   - All @next/* dependencies updated to matching 15.5.7 versions
   - Lockfile resolves correctly to patched Next.js version

### Verification
✓ Dependencies installed successfully using `npm install`
✓ Build completed successfully with `npm run build`
✓ All 91 static pages generated without errors
✓ Lockfile contains correct patched versions:
  - `"next": "15.5.7"` in package-lock.json
  - All @next/* packages at version 15.5.7

### Implementation Details
- Applied the specific patched version rule: next 15.5.x → 15.5.7
- Did NOT modify react or react-dom versions per Next.js recommendations
- Project is not a monorepo, single package.json handled
- No vulnerable React Flight packages detected, only Next.js update needed

### Files Modified
- `package.json` - Updated Next.js version
- `package-lock.json` - Updated by npm during install

### Build Status
✓ Compilation successful in 25.6s
✓ 91 static pages generated
✓ No errors or breaking changes
✓ Application ready for deployment

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

vercel bot commented Dec 8, 2025

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

Project Deployment Preview Comments Updated (UTC)
aiex Ready Ready Preview Comment Dec 8, 2025 3:17pm

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