CVE-2025-57752: Next.js Affected by Cache Key Confusion for Image Optimization API Routes
vercel · next.js
Affected: vercel next.js · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 28% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- vercel · next.js>= 15.0.0, < 15.4.5; < 14.2.31
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- vercel
- Published
- August 2025
CoverageNo articles yet
No CyberSIXT article names CVE-2025-57752 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-524cwe.mitre.org
- github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5github.com
- github.com/vercel/next.js/pull/82114github.com
- github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82cagithub.com
- vercel.com/changelog/cve-2025-57752vercel.com