CVE-2026-94483: Next.js Server-Side Request Forgery in Image Optimization

next Updated 07 Oct 2026

Summary

07/10/2026
Yes i
High
6.5

CVE-2026-94483: Next.js has Server-Side Request Forgery in Image Optimization. Affects next versions >= 16.0.0, < 16.3.8. Fixed in 16.3.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Next.js is a popular React framework that enables developers to build server-rendered applications with ease. It provides features such as automatic code splitting, server-side rendering, and static site generation. However, a recent vulnerability has been identified that affects its image optimization functionality, potentially allowing attackers to exploit server-side request forgery (SSRF) vulnerabilities.

Vulnerability Detail

The vulnerability arises from the handling of allow-listed remote URLs during the image optimization process. An attacker can manipulate these URLs to perform SSRF attacks, which may allow them to access internal services or private IP addresses that should not be exposed to the public. This can lead to unauthorized data access or further exploitation of the server.

How To Fix

Latest published version: 16.4.2 as of 22 Oct 2026

npm install next@16.4.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

16.3.8

This is the first release that contains the fix.

npm install next@16.3.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, audit the allow-listed remote URLs in the 'images.remotePatterns' configuration. Ensure that only trusted hosts are included. If no 'images.remotePatterns' are configured, your application is not affected. Example configuration: { images: { remotePatterns: [{ protocol: 'https', hostname: 'trusted.com', port: '' }] } }

Conclusion

The CVE-2026-94483 vulnerability in Next.js highlights the importance of careful management of allow-listed URLs in image optimization. By updating to the patched version and auditing your configurations, you can protect your application from potential SSRF attacks.

See every vulnerability recorded for next →

Share this vulnerability

FAQ

Server-Side Request Forgery (SSRF) is a vulnerability that allows an attacker to send crafted requests from a vulnerable server to internal or external resources.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your package-lock.json for vulnerabilities without requiring any signup.

Exploitation of this vulnerability could lead to unauthorized access to sensitive internal services, data leakage, or further attacks on the server.

Yes, you can mitigate the risk by auditing the allow-listed remote URLs and ensuring that only trusted hosts are included in your configuration.

The CVSS score for this vulnerability is 6.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for next.

How To Fix

Latest published version: 16.4.2 as of 22 Oct 2026

npm install next@16.4.2

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

16.3.8

This is the first release that contains the fix.

npm install next@16.3.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback