Intel

AIKIDO-2026-599658

next is vulnerable to Remote Code Execution (RCE)

Remote Code Execution (RCE)CVE-2026-94545 Published Today

95

Critical Risk

This Affects:

JSnext
16.2.0 - 16.3.5
Fixed in 16.3.6
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.

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.

Background info

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

How to fix this

Upgrade the next library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform