vercel next.js up to 14.2.30/15.4.4 Image Optimization API cache containing sensitive information

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.7$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in vercel next.js up to 14.2.30/15.4.4. This affects an unknown function of the component Image Optimization API. Executing a manipulation can lead to use of cache containing sensitive information. This vulnerability is registered as CVE-2025-57752. The attack needs to be launched locally. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in vercel next.js up to 14.2.30/15.4.4. It has been declared as problematic. This vulnerability affects an unknown function of the component Image Optimization API. The manipulation with an unknown input leads to a use of cache containing sensitive information vulnerability. The CWE definition for the vulnerability is CWE-524. The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere. As an impact it is known to affect confidentiality. CVE summarizes:

Next.js is a React framework for building full-stack web applications. In versions before 14.2.31 and from 15.0.0 to before 15.4.5, Next.js Image Optimization API routes are affected by cache key confusion. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug. This vulnerability has been fixed in Next.js versions 14.2.31 and 15.4.5. All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.

The advisory is shared for download at github.com. This vulnerability was named CVE-2025-57752 since 08/19/2025. The exploitation appears to be easy. The attack needs to be approached locally. There are neither technical details nor an exploit publicly available. The MITRE ATT&CK project declares the attack technique as T1592.

The vulnerability scanner Nessus provides a plugin with the ID 261410 (Linux Distros Unpatched Vulnerability : CVE-2025-57752), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 14.2.31 or 15.4.5 eliminates this vulnerability. The upgrade is hosted for download at vercel.com. Applying the patch 6b12c60c61ee80cb0443ccd20de82ca9b4422ddd is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (261410). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.7
VulDB Meta Temp Score: 4.7

VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 6.2
CNA Vector (GitHub_M): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use of cache containing sensitive information
CWE: CWE-524
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 261410
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-57752

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: next.js 14.2.31/15.4.5
Patch: 6b12c60c61ee80cb0443ccd20de82ca9b4422ddd

Timelineinfo

08/19/2025 CVE reserved
08/30/2025 +11 days Advisory disclosed
08/30/2025 +0 days VulDB entry created
09/05/2025 +6 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-g5qg-72qw-gw5v
Status: Confirmed

CVE: CVE-2025-57752 (🔒)
GCVE (CVE): GCVE-0-2025-57752
GCVE (VulDB): GCVE-100-322000

Entryinfo

Created: 08/30/2025 08:50
Updated: 09/05/2025 17:57
Changes: 08/30/2025 08:50 (68), 09/05/2025 17:57 (2)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!