PT-2025-9155 · Cursor+1 · Cursor+1
T/Axyz3Va
·
Published
2025-03-01
·
Updated
2025-04-08
·
CVE-2025-27554
CVSS v3.1
9.9
Critical
| Vector | AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ToDesktop versions prior to 2024-10-03
Description
The issue allows remote attackers to execute arbitrary commands on the build server, potentially reading secrets from the desktopify config.prod.json file and deploying updates to any app, via a postinstall script in package.json. No exploitation occurred. The vulnerability is related to improper control of generation of code, also known as 'Code Injection'.
Recommendations
For ToDesktop versions prior to 2024-10-03, update to a version released on or after 2024-10-03 to prevent potential attacks. As a temporary workaround, consider restricting access to the postinstall script in package.json until a patch is available. Avoid using the vulnerable postinstall script in the affected package.json file until the issue is resolved.
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Cursor
Todesktop