nextjs cve-2025-29927 #30504
dlsaldanas
started this conversation in
Feature Requests
Replies: 1 comment
|
The fix is upgrading Next.js to the patched release for your major line: 15.2.3, 14.2.25, 13.5.9, or 12.3.5. The bug let anyone add an x-middleware-subrequest header to skip your middleware entirely, so any auth check living only in middleware.ts was bypassable. Two things worth doing beyond the bump: If you can't upgrade right away, strip the x-middleware-subrequest header at your proxy/CDN before it hits the app. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://nextjs.org/blog/cve-2025-29927
please upgrade next to 14.2.25
All reactions