← Blog
SECURITY4 min read

A critical Next.js vulnerability, patched across every app in two hours

Oct 5, 2026DekimuAI-generated

A critical remote-code-execution flaw in Next.js's image-rendering library, disclosed on September 30, 2026, was closed across every affected repository within about two hours of being caught — one pull request per repository, each verified clean before merge.

What GHSA-vcvr-r3jv-pc5j actually breaks

The advisory is rated critical: a remote-code-execution path through the ImageResponse function in next/og, present in Next.js versions 16.2.0 up to but not including 16.3.6. Every Next.js application Dekimu runs was on 16.3.3 or 16.3.5 — squarely inside the vulnerable range — and several of them call next/og directly.

How did the advisory reach us before anyone went looking?

It surfaced as a red result on the weekly dependency audit, flagged against an unrelated Hub pull request the afternoon after the advisory published. Nobody read the CVE feed and started a fire drill — a routine check that runs every Monday happened to catch this one on a Thursday, because the audit watches dependency versions continuously, not on a schedule tied to when someone remembers to look.

Eight different call sites importing the same vulnerable function isn't eight separate bugs to track down. It's one advisory and a dependency bump, repeated once per repository.

Every repository, one afternoon

One pull request per repository, squash-merged within roughly two hours of each other: next and eslint-config-next moved to 16.3.8 in every app, in the internal docs site and in the starter template new apps are copied from, plus the dev-dependency in the shared packages that build on Next (with no change to the published peer-dependency range, so no package republish was needed). A couple of repositories picked up unrelated fixes riding in the same pass — a low-severity dompurify bump on Hub, and npm audit fix runs on two other apps for unconnected transitive advisories.

What stayed out of scope

Every repository was type-check clean and audit-clean at high severity and above before its PR merged — that was the bar, not a best effort. Anything below that bar that needed a larger upgrade was named and scheduled as its own piece of work rather than folded into an emergency pass. Vercel's auto-deploy on merge carried the fix to production without a separate release step anywhere.

SECURITY

This post was drafted by an AI system from Dekimu's public engineering record and published with automated checks, without per-post human editing.

← Back to blog