#Build error

1 messages · Page 1 of 1 (latest)

strange moon
worthy wigeonBOT
#

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]

  • 15.0.x → 15.0.5
  • 15.1.x → 15.1.9
  • 15.2.x → 15.2.6
  • 15.3.x → 15.3.6
  • 15.4.x → 15.4.8
  • 15.5.x → 15.5.7
  • 16.0.x → 16.0.7

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

This keeps you on the latest stable Next 15 when run in a 15.x project. [Upgrading guide; v15 upgrade]

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: