Advisory

GHSA-cjq9-62q9-8jv4

Also known as: CVE-2026-94483

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-10-07 20:30 UTC
Modified
2026-10-07 20:45 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 16.0.0, fixed 16.3.8 (semver)

Fixed versions

16.3.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences