8.3high
Next.js: Server-Side Request Forgery in Image Optimization
- Severity
- 8.3high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.39% (higher than 25% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cjq9-62q9-8jv4
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
| Product or package | Versions | Reported by |
|---|---|---|
| vercel next.js | >= 16.0.0, < 16.3.8, from 16.0.0 before 16.3.8 | CVE List, NVD |
| next (npm) | from 16.0.0 before 16.3.8 | GitHub Advisory Database |
All scores
| GitHub_M | 8.3high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| GitHub | 6.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
An attacker-controlled, allow-listed remote URL can lead to server-side request forgery (e.g. to private IPs) during Image Optimization.
Workaround
Audit allow-listed remote URLs in images.remotePatterns (see https://nextjs.org/docs/app/getting-started/images#remote-images) for hosts that may not be trusted with their DNS entries. If no images.remotePatterns are configured, your app is not affected.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-94483 changed 2026-10-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cjq9-62q9-8jv4 changed 2026-10-07 | CC-BY-4.0 |
| NVD | CVE-2026-94483 changed 2026-10-06 | Public domain |