Intel

AIKIDO-2026-599658

next is vulnerable to Remote Code Execution (RCE)

CVE-2026-94545Published Sep 23, 2026
September 23, 2026

95

CVE Score

Critical

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

The Node.js ImageResponse implementation in next/og renders JSX through Satori into SVG and then into a PNG. Satori does not properly escape attacker-controlled values that land in SVG content, attributes, or styles, so that output can be interpreted as SVG markup rather than text. When those values flow into other Node.js rasterization dependencies, this becomes remote code execution in the Next.js process. The Edge ImageResponse path is not affected. The fix upgrades Satori and hardens next/og SVG serialization.

How do I fix this?

Upgrade the next library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses the Node.js ImageResponse implementation from next/og with attacker-controlled values in SVG content, attributes, or styles.

Package

Versions

16.2.0 - 16.3.5

Fixed in 16.3.6

Background info

next is vulnerable to Remote Code Execution (RCE) in versions 16.2.0 - 16.3.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea