Next.js 16.3.6 closes a critical remote code execution hole in next/og
The out-of-band release is available as 16.3.6 on Active LTS and 15.5.26 on Maintenance LTS. Versions from 16.2.0 up to but not including 16.3.6 are affected through the Node.js ImageResponse implementation in next/og, where improper escaping in Satori's SVG output can lead to remote code execution. Applications on the Edge implementation are not affected, and Next.js 15.x does not carry the remote code execution issue at all. The fix works by upgrading the upstream dependencies, Satori among them.
Source
Next.js Security Update for a Critical Upstream IssueNext.js Blog · Original published September 22, 2026
Next.js shipped an out-of-band security release on September 22, 2026, and the advisory is short enough to act on in a minute. If your application is on any version from 16.2.0 up to 16.3.6, and it generates images through the Node.js implementation of ImageResponse in next/og, it is exposed to remote code execution. The patched releases are 16.3.6 for the Active LTS line and 15.5.26 for Maintenance LTS.
Where the hole is
The flaw is not in Next.js code that anyone wrote by hand. ImageResponse renders social images by building SVG through Satori, and under specific conditions that SVG output was escaped improperly. Combined with vulnerabilities in other upstream dependencies, the bad escaping can lead to remote code execution. The fix upgrades those dependencies rather than rewriting the feature.
Two boundaries narrow the blast radius, and both are worth checking before anyone panics. Applications using the Edge implementation of ImageResponse are not affected, because the affected path is the Node.js one. Next.js 15.x does not carry the remote code execution issue either; 15.5.26 exists to add related hardening, not to close this hole.
- Affected: Next.js versions greater than or equal to 16.2.0 and lower than 16.3.6.
- Advisory for Next.js: GHSA-vcvr-r3jv-pc5j.
- Upstream advisory for Satori: GHSA-wx4j-mvgx-mqwp.
- Not affected: the Edge implementation of ImageResponse, and Next.js 15.x.
What to run
Installing next@16.3.6 on the 16.3 line, or next@15.5.26 on 15.5, is the whole remedy. Because the fix lives in transitive dependencies, a lockfile that pins those packages deserves a second look after the upgrade: the Next.js version alone does not prove that the patched Satori actually landed in your tree.
The advisory is signed by Josh Story, Karim Rahal, and Sebastian Silbermann, and Vercel routes this class of report through its Open Source Bug Bounty. That is the second Next.js security event on the same day, after the team announced earlier that an out-of-band release was coming. This post is the one that carries the version numbers.
„Please patch your Next.js dependencies to maintain the security of your applications.“
Once a week, in your inbox
The whole week's news, gathered into one email. No ads, no passing your address on, one-click unsubscribe.
The address is used only for this roundup. It is not sold and not passed to anyone.
Related

AI agents found and exploited an unknown flaw in MONAI Label, and version 0.8.6 fixes it
An attacker gave AI agents a goal and a list of addresses, and AWS says the agents found a flaw nobody had reported and took over a server with it. Public records point to MONAI Label, a tool for labeling medical images whose authentication is off by default. Anyone who runs it should upgrade and check whether the server was already compromised.
AWSverified

Researchers found 35,578 Grok-built apps open to anyone, 24 of them made by SpaceXSI staff
Security firm Claroc says 94.7% of the Grok apps still online opened without any sign-in, and some held patient records, staff rosters, and plain-text passwords. SpaceXSI says apps stay private until their creator shares them. Claroc's tests found the publish panel already set to Anyone with the link.
Clarocverified

Claude Code’s “don’t ask again” option has put more than 2,500 secrets into public GitHub repositories
Approving a command permanently copies the command, password included, into a project settings file that often gets committed. The security firm Apiiro counted 1,122 public copies of that file holding a real secret. Anthropic says it is looking at ways to prevent it.
Apiiroverified