CVE-2025-71389: Improper Control of Generation of Code ('Code Injection') in calcom cal.diy
Cal.com (calcom/cal.diy) before 5.9.9 is vulnerable to unauthenticated remote code execution because it bundles a version of Next.js whose React Server Components (RSC) request handling deserializes attacker-controlled input. A remote attacker can send a crafted RSC request to the server and cause arbitrary code to be executed during server-side processing, without authentication or user interaction. The flaw derives from the upstream Next.js vulnerability CVE-2025-55182 and is resolved in 5.9.9 by updating the affected dependency.
AI Analysis
Technical Summary
The vulnerability in Cal.com cal.diy prior to version 5.9.9 arises from its inclusion of a vulnerable Next.js version. The React Server Components (RSC) request handler in Next.js improperly deserializes attacker-controlled input, allowing remote attackers to execute arbitrary code on the server without authentication or user interaction. This is a direct consequence of the upstream Next.js vulnerability CVE-2025-55182. Cal.com addressed this issue by updating the Next.js dependency in version 5.9.9, mitigating the risk of unauthenticated remote code execution.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on the server running cal.diy, potentially leading to full system compromise. The vulnerability has a CVSS 4.0 score of 10.0, indicating critical severity with high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at the time of this report.
Mitigation Recommendations
Upgrade cal.diy to version 5.9.9 or later, which includes an updated Next.js dependency that resolves the vulnerability. Since this is a self-hosted product, users must apply the update themselves. Patch status is confirmed by the vendor's versioning; no other official fixes or temporary mitigations are documented. Monitor vendor advisories for further updates.
CVE-2025-71389: Improper Control of Generation of Code ('Code Injection') in calcom cal.diy
Description
Cal.com (calcom/cal.diy) before 5.9.9 is vulnerable to unauthenticated remote code execution because it bundles a version of Next.js whose React Server Components (RSC) request handling deserializes attacker-controlled input. A remote attacker can send a crafted RSC request to the server and cause arbitrary code to be executed during server-side processing, without authentication or user interaction. The flaw derives from the upstream Next.js vulnerability CVE-2025-55182 and is resolved in 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 prior to version 5.9.9 arises from its inclusion of a vulnerable Next.js version. The React Server Components (RSC) request handler in Next.js improperly deserializes attacker-controlled input, allowing remote attackers to execute arbitrary code on the server without authentication or user interaction. This is a direct consequence of the upstream Next.js vulnerability CVE-2025-55182. Cal.com addressed this issue by updating the Next.js dependency in version 5.9.9, mitigating the risk of unauthenticated remote code execution.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary code on the server running cal.diy, potentially leading to full system compromise. The vulnerability has a CVSS 4.0 score of 10.0, indicating critical severity with high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at the time of this report.
Mitigation Recommendations
Upgrade cal.diy to version 5.9.9 or later, which includes an updated Next.js dependency that resolves the vulnerability. Since this is a self-hosted product, users must apply the update themselves. Patch status is confirmed by the vendor's versioning; no other official fixes or temporary mitigations are documented. Monitor vendor advisories for further updates.
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/30/2026, 22:21:17 UTC
Last updated: 09/06/2026, 10:52:06 UTC
Views: 95
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.