CVE-2025-27554CWE-94

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…

Critical · published March 1, 2025

CVSS v3.1
9.9
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

🔥 A single remote command execution flaw means attackers could play puppet master with your build server! Think of it like a sneaky hacker slipping a malicious instruction into a recipe book used by chefs—when the chefs follow the recipe, they unknowingly serve up a dangerous dish instead of a delicious meal! If exploited, attackers could not only read sensitive information, such as secrets hidden in the desktopify config.prod.json file but also deploy malicious updates to any app running on that build server. This could lead to massive data leaks or even full control over the affected applications!

Put simply

Think of it like a sneaky hacker slipping a malicious instruction into a recipe book used by chefs—when the chefs follow the recipe, they unknowingly serve up a dangerous dish instead of a delicious meal! This vulnerability in ToDesktop, used by applications like Cursor, allows remote attackers to execute arbitrary commands through a postinstall script in package.json, enabling them to manipulate the build server without authorization.

What to do

If exploited, attackers could not only read sensitive information, such as secrets hidden in the desktopify config.prod.json file but also deploy malicious updates to any app running on that build server. This could lead to massive data leaks or even full control over the affected applications! Update ToDesktop to the version released after 2024-10-03 immediately to patch this critical vulnerability. Additionally, audit your package.json files to ensure no unauthorized scripts are being executed during the installation process. You've got this! Patch that vulnerability and keep your build server secure! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00812 · 56.5th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-03-01T00:00Z
EPSS history
Timeline
  • 01 MAR 00:00Z
    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…
    cvelistv5