Intel

AIKIDO-2026-262339

next is vulnerable to Server-Side Request Forgery (SSRF)

CVE-2026-94483Published Oct 2, 2026
October 2, 2026

83

CVE Score

High

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

The next Image Optimization API fetches remote images when images.remotePatterns allows the host. Before connecting, it resolves the hostname and rejects private addresses, then fetches the URL with a second DNS lookup. A hostname whose DNS record changes after that check can make the server request a private address and return the response. The fix pins the connection to the addresses that were already checked.

How do I fix this?

Upgrade the next library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application configures images.remotePatterns.

Package

Versions

16.0.0 - 16.3.7

Fixed in 16.3.8

Background info

next is vulnerable to Server-Side Request Forgery (SSRF) in versions 16.0.0 - 16.3.7.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea