Vulnerability · CVE-2025-57752
Next.js is a React framework for building full-stack web applications.
Published Aug 29, 2025 · catalog updated Sep 2, 2025 · Cloudflare
Last checked Oct 25, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2025-57752. EPSS is 0.35%. Act only if a listed version of Cloudflare is installed.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-103004 · Medium
- CVE-2026-45109 · High
- CVE-2026-44582 · Low
- CVE-2026-44581 · Medium
- CVE-2026-44580 · Medium
- Severity
- Medium6.2
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.35%
- Remediation
- Version ranges on file
- Affected products
- vendor vercel next.js 15.0.0, < 15.4.5
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
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor vercel next.js 15.0.0, < 15.4.515.0.0, < 15.4.5
How to fix CVE-2025-57752
Upgrade
CVE-2025-57752 lists a fix boundary at 15.4.5. Compare the installed build with that boundary before you change production.
Version check
Affected < 15.4.5
Advisory
Open the cloudflare_waf record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-57752. EPSS is 0.35%. Act only if a listed version of Cloudflare is installed.
Which versions are affected?
Compare what you have installed with vercel next.js 15.0.0, < 15.4.5 15.0.0, < 15.4.5. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.35%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Aug 29, 2025 · EUVD
Detected
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
Sep 2, 2025 · EUVD
Updated
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
Sources
- Cloudflare WAF rulesVendor advisoryCVE-2025-57752
CVE-2025-57752 is named in an emergency Cloudflare managed-rules release. The default action recorded for those rules is Block.
developers.cloudflare.com - CVE.orgVulnerability recordCVE-2025-57752
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-57752
30-day exploitation probability 0.35%
first.org - EUVDVulnerability recordEUVD-2025-28624
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
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Oct 23, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- Cloudflare WAF rulesOct 25, 2026
- FIRST EPSSOct 23, 2026
- CVE.orgOct 22, 2026
- EUVDOct 22, 2026