CVE-2026-94483
JSON

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 packageVersionsReported by
vercel next.js>= 16.0.0, < 16.3.8, from 16.0.0 before 16.3.8CVE List, NVD
next (npm)from 16.0.0 before 16.3.8GitHub Advisory Database

All scores

GitHub_M8.3high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
GitHub6.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-918

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

SourceRecordLicence
CVE ListCVE-2026-94483 changed 2026-10-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-cjq9-62q9-8jv4 changed 2026-10-07CC-BY-4.0
NVDCVE-2026-94483 changed 2026-10-06Public domain