CVE-2025-54074 Cherry Studio is Vulnerable to OS Command Injection during Connection with a Malicious MCP Server
Attackers can execute arbitrary OS commands by tricking users into connecting to a malicious MCP server in Cherry Studio.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-54074?
CVE-2025-54074 is a high-severity command injection vulnerability in CherryHQ cherry-studio, published on 13 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cherry Studio is a desktop client that supports for multiple LLM providers. From versions 1.2.5 to 1.5.1, Cherry Studio is vulnerable to OS Command Injection during a connection with a malicious MCP server in HTTP Streamable mode. Attackers can setup a malicious MCP server with compatible OAuth authorization server endpoints and trick victims into connecting it, leading to OS command injection in vulnerable clients. This issue has been patched in version 1.5.2.
Weakness: CWE-78
Which versions are affected by CVE-2025-54074?
It affects 1 product.
Products include Cherry-Ai Cherry Studio.
How do I fix CVE-2025-54074?
No fix has been published for CVE-2025-54074 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-54074 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54074 exists.
Other vulnerabilities in CherryHQ cherry-studio
Sources
Also known as GHSA-8xr5-732g-84px.