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.

See affected versions and whether adversaries are exploiting it.
2 events from the most recent confirmed update back to the earliest known activity.
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 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.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.