Next.js: Remote Code Execution in next/og ImageResponse
What to do
- Upgrade to a fixed version: next 16.3.6.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
next
- >= 16.2.0, < 16.3.6
- 16.3.6
Check your project: npm ls next --all