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 autumn-ui. 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 - Patch Applied

### Vulnerability Summary
The React Flight / Next.js RCE advisory affects Next.js versions < 15.0.5, < 15.1.9, < 15.2.6, < 15.3.6, < 15.4.8, < 15.5.7, and 16.x < 16.0.7. The vulnerability also affects standalone React Flight packages when using vulnerable React versions.

### Project Assessment
This project uses Next.js and was vulnerable. The following changes were made to apply the security patch:

### Changes Made

**Modified package.json files:**

1. **nextjs/package.json**
   - `next`: 15.3.4 → 15.3.6 (patched version)
   - `eslint-config-next`: 15.3.4 → 15.3.6 (aligned with Next.js version)

2. **ui/package.json**
   - `next`: ^15.3.0 → 15.3.6 (pinned to patched version)

3. **package/package.json**
   - `next`: ^15.2.3 → 15.2.6 (patched version)
   - `react-dom`: ^19.1.0 → 19.1.2 (patched React version for compatibility)

4. **pnpm-lock.yaml**
   - Updated lockfile to resolve all patched versions correctly

**Generated changes (from build):**
- ui/public/checkout-dialog.json - regenerated by shadcn build
- ui/public/pricing-table.json - regenerated by shadcn build

### Verification

✅ **Lockfile Resolution:** Verified that pnpm-lock.yaml contains the following patched versions:
- next@15.3.6 (resolution: sha512-oI6D1zbbsh6JzzZFDCSHnnx6Qpvd1fSkVJu/5d8uluqnxzuoqtodVZjYvNovooznUq8udSAiKp7MbwlfZ8Gm6w==)
- next@15.2.6 (resolution: sha512-DIKFctUpZoCq5ok2ztVU+PqhWsbiqM9xNP7rHL2cAp29NQcmDp7Y6JnBBhHRbFt4bCsCZigj6uh+/Gwh2158Wg==)

✅ **Build Verification:** UI project build completed successfully with Next.js 15.3.6

### Risk Assessment
- No React Flight packages (`react-server-dom-*`) are used in this project
- All Next.js versions are now at the minimum patched versions required by the advisory
- React versions are compatible with the patched Next.js versions

### Implementation Details
- Followed the advisory upgrade rules for each Next.js minor version
- Did not upgrade across major versions
- Updated lockfiles using pnpm install to ensure consistency
- Verified no vulnerable dependency versions remain in the resolved dependency tree

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)
autumn-ui Ready Ready Preview Comment Dec 8, 2025 9:38pm

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