Fetch https://vercel.com/changelog/cve-2025-55182
I got this error on build. I have Next 15.4.1 installed. How do I upgrade to the last, stable version of Next 15 - not 16?
1 messages · Page 1 of 1 (latest)
Fetch https://vercel.com/changelog/cve-2025-55182
I got this error on build. I have Next 15.4.1 installed. How do I upgrade to the last, stable version of Next 15 - not 16?
Hi @strange moon. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
You’re hitting a build error because of the React/Next security fix rollout (CVE-2025-55182 / CVE-2025-66478). For Next 15.4.x, you should upgrade specifically to the patched 15.4.8 release, not to 16.x. [CVE backport]
From the official backport table, the latest patched versions per minor line are: [CVE backport; CVE table]
Since you’re on 15.4.1, run:
npm install next@15.4.8
# or with yarn
# yarn add next@15.4.8
# or with pnpm
# pnpm add next@15.4.8
If you prefer to always stay on the latest 15.x (but not 16), you can also do:
npm install next@^15.0.0
but the security guidance explicitly calls out 15.4.8 as the patched target for the 15.4 line. [CVE backport]
For future upgrades, you can also use the codemod-based upgrader for 15.x:
npx @next/codemod@canary upgrade latest