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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vercel | next.js | >= 16.0.0, < 16.3.8 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | next | >= 16.0.0, < 16.3.8 | 16.3.8 | GHSA-cjq9-62q9-8jv4 |
Advisories 1
- WID-SEC-2026-3699 Vercel Next.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 4, 2026