CVE-2025-57752
CVE-2025-57752 is a medium-severity vulnerability in Vercel Next.js with a CVSS 3.x base score of 6.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-524.
Key facts
- Severity: Medium (CVSS 3.x base score 6.2)
- EPSS exploit prediction: 0% (28th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-28624
- Weakness: CWE-524
- Affected product: Vercel Next.js
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-57752?
- 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.
- How severe is CVE-2025-57752?
- CVE-2025-57752 has a CVSS 3.x base score of 6.2, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2025-57752 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (28th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-57752?
- CVE-2025-57752 affects Vercel Next.js. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-57752?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-57752 have an EU (EUVD) identifier?
- Yes. CVE-2025-57752 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-28624.
- When was CVE-2025-57752 published?
- CVE-2025-57752 was published on 2025-08-29 and last updated on 2026-06-17.
References
- https://github.com/vercel/next.js/commit/6b12c60c61ee80cb0443ccd20de82ca9b4422ddd
- https://github.com/vercel/next.js/pull/82114
- https://github.com/vercel/next.js/security/advisories/GHSA-g5qg-72qw-gw5v
- https://vercel.com/changelog/cve-2025-57752
Affected products (1)
- cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*
More vulnerabilities in Vercel Next.js
- CVE-2025-55182 — Critical (CVSS 10.0): A pre-authentication remote code execution vulnerability exists in React Server Components versions 19.0.0, 19.1.0,…
- CVE-2025-29927 — Critical (CVSS 9.1): Next.js is a React framework for building full-stack web applications. Starting in version 1.11.4 and prior to versions…
- CVE-2026-44578 — High (CVSS 8.6): Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5,…
- CVE-2026-64642 — High (CVSS 8.2): Next.js is a React framework for building full-stack web applications. In versions 16.0.0 through 16.2.10, crafted…
- CVE-2026-44574 — High (CVSS 8.1): Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5,…
- CVE-2026-64641 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. In versions 13.0.0 through 15.5.20 and 16.0.0…
All CVEs affecting Vercel Next.js →
Other CWE-524 vulnerabilities
- CVE-2026-53943 — Critical (CVSS 9.6): Ghost is a Node.js content management system. From until 6.37.0, when Ghost is behind a shared caching layer that…
- CVE-2025-64762 — Critical (CVSS 9.1): The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS &…
- CVE-2026-61836 — High (CVSS 8.6): Directus is a real-time API and App dashboard for managing SQL database content. Prior to 12.0.0, when response caching…
- CVE-2026-71316 — High (CVSS 7.5): Nuxt is an open-source web development framework for Vue.js. From 4.4.0 until 4.5.1, runtime cache:nuxt:payload entries…
- CVE-2026-65755 — High (CVSS 7.5): Joomla Extension - regularlabs.com - Date-sensitive query-cache leakage in Articles Anywhere and Users Anywhere…
- CVE-2026-64792 — High (CVSS 7.5): Joomla Extension - regularlabs.com - disclosure of restricted content via search index in various Regular Labs…