CVE-2025-71389: Improper Control of Generation of Code ('Code Injection') in calcom cal.diy
Cal.com cal.diy versions prior to 5.9.9 are vulnerable to unauthenticated remote code execution due to a bundled Next.js version with a flaw in React Server Components request handling. This flaw allows an attacker to send crafted requests that lead to arbitrary code execution on the server without authentication or user interaction. The vulnerability is linked to the upstream Next.js issue CVE-2025-55182 and is fixed in cal.diy version 5.9.9 by updating the affected dependency.
AI Analysis
Technical Summary
The vulnerability in Cal.com cal.diy before version 5.9.9 arises from its inclusion of a vulnerable Next.js version. Specifically, the React Server Components (RSC) request handler deserializes attacker-controlled input, enabling unauthenticated remote code execution. An attacker can exploit this by sending a specially crafted RSC request, triggering arbitrary code execution during server-side processing. This vulnerability is a direct consequence of the upstream Next.js vulnerability CVE-2025-55182. The issue is resolved in cal.diy 5.9.9 by updating the Next.js dependency to a patched version.
Potential Impact
Successful exploitation allows a remote attacker to execute arbitrary code on the server hosting cal.diy without any authentication or user interaction. This can lead to full system compromise, data theft, service disruption, or further attacks originating from the compromised server. The CVSS 4.0 base score is 10.0, indicating critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in cal.diy version 5.9.9, which updates the vulnerable Next.js dependency to a patched version. Users should upgrade to version 5.9.9 or later to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the update. Patch status is confirmed by the vendor's versioning information. No alternative mitigations are indicated in the advisory.
CVE-2025-71389: Improper Control of Generation of Code ('Code Injection') in calcom cal.diy
Description
Cal.com cal.diy versions prior to 5.9.9 are vulnerable to unauthenticated remote code execution due to a bundled Next.js version with a flaw in React Server Components request handling. This flaw allows an attacker to send crafted requests that lead to arbitrary code execution on the server without authentication or user interaction. The vulnerability is linked to the upstream Next.js issue CVE-2025-55182 and is fixed in cal.diy version 5.9.9 by updating the affected dependency.
CVSS v4.0
Score 10.0critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Cal.com cal.diy before version 5.9.9 arises from its inclusion of a vulnerable Next.js version. Specifically, the React Server Components (RSC) request handler deserializes attacker-controlled input, enabling unauthenticated remote code execution. An attacker can exploit this by sending a specially crafted RSC request, triggering arbitrary code execution during server-side processing. This vulnerability is a direct consequence of the upstream Next.js vulnerability CVE-2025-55182. The issue is resolved in cal.diy 5.9.9 by updating the Next.js dependency to a patched version.
Potential Impact
Successful exploitation allows a remote attacker to execute arbitrary code on the server hosting cal.diy without any authentication or user interaction. This can lead to full system compromise, data theft, service disruption, or further attacks originating from the compromised server. The CVSS 4.0 base score is 10.0, indicating critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in cal.diy version 5.9.9, which updates the vulnerable Next.js dependency to a patched version. Users should upgrade to version 5.9.9 or later to remediate this vulnerability. Since this is not a cloud service, remediation depends on applying the update. Patch status is confirmed by the vendor's versioning information. No alternative mitigations are indicated in the advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-16T12:14:41.769Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6289ae9c2644c7f8c05ba2
Added to database: 07/23/2026, 21:37:50 UTC
Last enriched: 07/23/2026, 21:52:18 UTC
Last updated: 07/23/2026, 22:12:53 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.