vercel next.js up to 14.2.30/15.4.4 Image Optimization API cache containing sensitive information
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.7 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Vendor
Name
Version
- 14.2.0
- 14.2.1
- 14.2.2
- 14.2.3
- 14.2.4
- 14.2.5
- 14.2.6
- 14.2.7
- 14.2.8
- 14.2.9
- 14.2.10
- 14.2.11
- 14.2.12
- 14.2.13
- 14.2.14
- 14.2.15
- 14.2.16
- 14.2.17
- 14.2.18
- 14.2.19
- 14.2.20
- 14.2.21
- 14.2.22
- 14.2.23
- 14.2.24
- 14.2.25
- 14.2.26
- 14.2.27
- 14.2.28
- 14.2.29
- 14.2.30
- 15.4.0
- 15.4.1
- 15.4.2
- 15.4.3
- 15.4.4
License
Website
- Product: https://github.com/vercel/next.js/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.7VulDB 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): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Use of cache containing sensitive informationCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 261410
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-57752
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: next.js 14.2.31/15.4.5
Patch: 6b12c60c61ee80cb0443ccd20de82ca9b4422ddd
Timeline
08/19/2025 CVE reserved08/30/2025 Advisory disclosed
08/30/2025 VulDB entry created
09/05/2025 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-g5qg-72qw-gw5v
Status: Confirmed
CVE: CVE-2025-57752 (🔒)
GCVE (CVE): GCVE-0-2025-57752
GCVE (VulDB): GCVE-100-322000
Entry
Created: 08/30/2025 08:50Updated: 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.
No comments yet. Languages: en.
Please log in to comment.