Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilityopen-source-dependency-vulnerability

Critical RCE in Next.js Node.js ImageResponse via Satori SVG Escaping

Vulnerability Disclosure · 3 sources · Updated 2mo ago · First seen Oct 1, 2026

Critical RCE in Next.js Node.js ImageResponse via Satori SVG Escaping

A critical unauthenticated remote-code-execution vulnerability, tracked as CVE-2026-94545 and GHSA-vcvr-r3jv-pc5j, affects Next.js applications that use the Node.js implementation of next/og ImageResponse. Improper escaping in the upstream Satori library (GHSA-wx4j-mvgx-mqwp) can let attacker-controlled values placed in generated SVG content, attributes, or CSS reach a downstream SVG parser and potentially execute code on the server. Public Open Graph image-generation routes that accept query parameters are a key exposure point.

The issue affects Next.js 16.2.0 through 16.3.5 and Satori 0.0.27 through 0.33.4 when untrusted data enters Node.js SVG-rendering paths. Organizations should upgrade to Next.js 16.3.6 or 15.5.26 and Satori 0.33.5, then audit image-generation endpoints and prevent untrusted input from reaching SVG or style rendering while upgrades are pending. Edge-runtime ImageResponse deployments and implementations rendering only trusted content are not affected.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Sep 22, 2026
  1. Reported Oct 1, 20262mo ago

    Patched Next.js and Satori releases address ImageResponse RCE

    Next.js 16.3.6 and 15.5.26 were released to address the vulnerability, alongside Satori 0.33.5 and @vercel/og 1.0.1. The updates fix or harden handling of unsafe values in Node.js ImageResponse SVG generation.

    Node.js ImageResponse Implementation Vulnerability Enables Remote Code Execution
  2. Sep 22, 20262mo ago

    CVE-2026-94545 disclosed in Next.js next/og

    A critical unauthenticated remote-code-execution vulnerability affecting the Node.js implementation of Next.js ImageResponse/next/og was disclosed. The issue stems from improper SVG escaping in the upstream Satori library when applications render attacker-controlled input.

    Next.js CVE-2026-94545: Critical RCE via SVG in next/og
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Next.Js
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.