CriticalPHP2Shell: is your PHP patched?

critical vulnerability

Next.js: Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used

Published Oct 22, 2026 · updated Oct 22, 2026

What to do

  1. Upgrade to a fixed version: next 15.5.28, next 16.4.1.
  2. Redeploy and restart long-running processes so they load the fixed code.

Affected packages

next

>= 10.0.0, <= 15.5.27
15.5.28

Check your project: npm ls next --all

Is next@15.5.28 safe to install? See the upgrade verdict →

next

>= 16.0.0, <= 16.4.0
16.4.1

Check your project: npm ls next --all

Is next@16.4.1 safe to install? See the upgrade verdict →

What changed

  1. Published in the GitHub Advisory Database as critical.

Sources

← All critical vulnerabilities