CVE-2025-61489 Command injection in n/a

Medium 6.5 Published Updated

Attackers can execute arbitrary commands via crafted input in the mcp-shell library, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-61489?

CVE-2025-61489 is a medium-severity command injection vulnerability in n/a, published on 7 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A command injection vulnerability in the shell_exec function of sonirico mcp-shell v0.3.1 allows attackers to execute arbitrary commands via supplying a crafted command string.

Weakness: CWE-77

Which versions are affected by CVE-2025-61489?

It affects 1 product.

Products include Sonirico Mcp-Shell.

How do I fix CVE-2025-61489?

No fix has been published for CVE-2025-61489 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-61489 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-61489 exists.

Sources

Also known as GHSA-573w-fmhg-vxq2.

Is CVE-2025-61489 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free