Skip to content

Fix React Server Components CVE vulnerabilities#1

Draft
vercel[bot] wants to merge 3 commits intomainfrom
vercel/react-server-components-cve-vu-du7qh2
Draft

Fix React Server Components CVE vulnerabilities#1
vercel[bot] wants to merge 3 commits intomainfrom
vercel/react-server-components-cve-vu-du7qh2

Conversation

@vercel
Copy link
Copy Markdown

@vercel vercel Bot commented Apr 19, 2026

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 dive-ba39. 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

letchermarlon and others added 3 commits April 18, 2026 21:20
- Replace Supabase Auth with Clerk across all routes and pages
- Add ClerkProvider to root layout, Clerk middleware for route protection
- Sign-in/sign-up pages use Clerk embedded UI with Google OAuth
- All API routes and server pages use Clerk auth() instead of supabase.auth.getUser()
- All DB operations now go through supabaseAdmin (service role)
- Add SSO callback page for OAuth redirect handling
- Update schema.sql: user_id columns changed to text for Clerk IDs, remove auth.users FKs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
supabase.ts and supabase-server.ts are no longer used after Clerk migration.
Removing them fixes TypeScript build errors on Vercel.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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
Copy Markdown
Author

vercel Bot commented Apr 19, 2026

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

Project Deployment Actions Updated (UTC)
dive Ready Ready Preview, Comment Apr 19, 2026 4:33am
dive-ba39 Ready Ready Preview, Comment Apr 19, 2026 4:33am

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