SSRF Vulnerability in Next.js Framework Affects Vercel Products
CVE-2025-57822
Key facts: CVE-2025-57822 is a medium severity (CVSS 6.5) vulnerability in Vercel next.js. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 2.3%, the estimated probability of exploitation in the next 30 days. Fixed in next.js 14.2.32, 15.4.7.
What is CVE-2025-57822?
CVE-2025-57822 is a security vulnerability within the Next.js framework, commonly used for building full-stack web applications. This vulnerability arises when the next() function is invoked without explicitly passing the request object, presenting a potential Server-Side Request Forgery (SSRF) risk in self-hosted applications. Such SSRF vulnerabilities can permit unauthorized requests to internal services or endpoints, compromising the security of the affected application and potentially exposing sensitive data. The flaw has been addressed in the updated Next.js versions 14.2.32 and 15.4.7, and users employing custom middleware logic in self-hosted environments are strongly recommended to upgrade and ensure proper implementation of the next() function to mitigate this risk.
Potential Impact of CVE-2025-57822
-
Unauthorized Internal Service Access: Attackers may exploit this vulnerability to send requests to internal services, potentially leading to data leaks or unauthorized actions within the network, thus compromising the overall security posture of the organization.
-
Exposure of Sensitive Information: By leveraging SSRF, threat actors could gain access to sensitive internal resources, including databases or APIs, which may contain confidential or customer data, resulting in serious data privacy violations and regulatory repercussions.
-
Increased Attack Surface: The existence of this vulnerability in widely used applications increases the attack surface available to cybercriminals. Organizations that do not swiftly address this issue may find themselves targets for more elaborate attacks, possibly leading to further compromise or lateral movement within their networks.
Affected Version(s)
next.js < 14.2.32 < 14.2.32
next.js < 15.4.7 < 15.4.7
References
More Vercel vulnerabilities
- CVE-2026-94545: Cross-Site Scripting Vulnerability in Satori Library by Vercel(MEDIUM)
- CVE-2026-75604: Remote Code Execution Vulnerability in Next.js Framework by Vercel(CRITICAL)
- CVE-2026-44578: Server-Side Request Forgery Vulnerability in Next.js Framework by Vercel(HIGH)
- CVE-2026-44574: Authorization Bypass in Next.js Framework by Vercel(HIGH)
- CVE-2025-49826: Denial of Service Vulnerability in Next.js by Vercel(HIGH)
- CVE-2025-32421: Race Condition Vulnerability in Next.js Framework Affecting Vercel Deployments(LOW)
- CVE-2025-29927: Authorization Bypass in Next.js Framework by Vercel(CRITICAL)
- CVE-2024-56332: Denial of Service Vulnerability in Next.js Framework by Vercel