CVE-2025-27554 Details
Description
ToDesktop before 2024-10-03, as used by Cursor before 2024-10-03 and other applications, allows remote attackers to execute arbitrary commands on the build server (e.g., read secrets from the desktopify config.prod.json file), and consequently deploy updates to any app, via a postinstall script in package.json. No exploitation occurred.
A vulnerability in ToDesktop, an Electron app bundler service, allows remote execution of arbitrary commands on the build server. This issue affects ToDesktop versions prior to 2024-10-03 and has been observed in applications like Cursor. The vulnerability arises from a postinstall script in package.json that can be exploited to access Firebase credentials, read sensitive information from the desktopify config.prod.json file, and deploy unauthorized updates to applications.
ToDesktop has patched the vulnerability by removing the Firebase Service Account token from the build process and implementing a restricted-access solution. The company has also enhanced security measures, including key-based authentication for app updates and access control permissions for sensitive actions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 1, 2025CISA-ADP
Assessed Mar 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://kibty.town/blog/todesktop | [email protected] | ExploitRemedyTechnical Analysis |
| https://news.ycombinator.com/item?id=43210858 | [email protected] | |
| https://www.todesktop.com/blog/posts/security-incident-at-todesktop | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ToDesktop | All versions |
CPE
Remediation
| |
| Cursor | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 1, 2025 | New CVE Received | [email protected] |
Volerion