CVE-2026-30623 Command injection in n/a

Critical 9.8 Published Updated

Attackers can execute arbitrary OS commands via MCP server configuration, leading to remote code execution in LiteLLM.

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-2026-30623?

CVE-2026-30623 is a critical command injection vulnerability in n/a, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LiteLLM 1.18.10 contains a remote code execution vulnerability in its MCP server creation functionality. The application allows users to add MCP servers via a JSON configuration specifying arbitrary command and args values. LiteLLM executes these values on the host without validation, enabling attackers to run arbitrary operating system commands. Successful exploitation may result in remote code execution with the privileges of the LiteLLM process.

Weakness: CWE-77

Which versions are affected by CVE-2026-30623?

How do I fix CVE-2026-30623?

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

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

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-gw7c-8jfv-4mj2.

Is CVE-2026-30623 in your software?

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

Check your SBOMs for free