Skip to content
OpenAdvisories
High · 8.3 CVE-2026-94483 EUVD-2026-91671GHSA-cjq9-62q9-8jv4

Next.js: Server-Side Request Forgery in Image Optimization

Published Oct 2, 2026 · Updated Oct 6, 2026 · Assigned by GitHub_M

Description

Next.js is a React framework for building full-stack web applications. From 16.0.0 until 16.3.8, Image Optimization can follow attacker-controlled DNS resolution for a remote URL that matches images.remotePatterns, allowing the optimized image fetch to reach private IP addresses after the URL passes the allow-list check. Applications without images.remotePatterns are not affected. Administrators unable to upgrade should audit allow-listed hosts and avoid entries whose DNS records are not trusted. This issue is fixed in version 16.3.8.

Affected products

VendorProductAffectedFixed
vercel next.js >= 16.0.0, < 16.3.8 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm next >= 16.0.0, < 16.3.8 16.3.8 GHSA-cjq9-62q9-8jv4

Advisories 1

References