CVE-2025-66478 on nextjs 14.* #86876
Replies: 4 comments 5 replies
-
|
It looks like you’re getting hit by the same RCE payload scans that are going around right now, even though 14.2 is not in the officially affected range. The Next.js security advisory says the RSC exploit affects:
So 14.2 shouldn’t be vulnerable to the exploit itself. The A few things you can do:
So in short: your version is not actually vulnerable, but the exploit traffic can still cause crashes if bad inputs hit brittle parts of the runtime. Hardening the edge and tightening error handling usually stops the restarts. |
Beta Was this translation helpful? Give feedback.
-
|
On my VPS server I have my Next.js 15.3 apps, and yesterday I noticed that someone from Ukraine was mining cryptocurrencies and also managed to access my SSH. |
Beta Was this translation helpful? Give feedback.
-
|
Hey @ibrahimpelumi6142 . I put in your suggestion to do: Deployed recently but no restarts since I got it in. Provisionally looking good so far. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
|
I also suddenly encountered the following error: Error: Unexpected end of form at e.exports._final (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:2:457) at callFinal (node:internal/streams/writable:698:12) at prefinish (node:internal/streams/writable:710:7)Error: Failed to find Server Action "x". This request might be from an older or newer deployment. Original error: Cannot read properties of undefined (reading 'workers')
at rT (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:1766)It also reports an error in app-page.runtime.prod.js. Could this be the same issue as the one mentioned above? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
One of my apps is running version 14.2 which isn't listed as being vulnerable. Overnight we started receiving requests that I believe are attempts at this exploit. (Not sharing payload but they look like RCE attempts). I don't believe they're successful but the errors they're triggering are restarting our servers. Any recommendations on hardening older nextjs versions?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions