Skip to content
EventPast event

LiteLLM Proxy MCP interface command injection vulnerability

1 reports1 reporting sourcesLatest report

Start here

AI overview

On November 17, 2026, the Xianzhi community published a reproduction and source code audit of the command injection vulnerability CVE-2026-30623 in the MCP interface of LiteLLM Proxy. The author said an attacker holding a valid API Key can execute arbitrary system commands through the /mcp-rest/test/connection interface: when this interface receives a stdio-type MCP Server configuration, it does not validate command or args and passes them directly to a subprocess for execution; the attacker sets command to bash and passes a script via -c, bypassing the injection protection of list-based argument passing. Exploitation requires a valid Bearer API Key, and unauthorized requests return 401; the test-connection branch does not use the database, so the vulnerability can still be triggered when the database is offline. The author reasoned that an attacker could steal model keys, plant backdoors and move laterally, and recommended command allowlists, fine-grained API Key permissions and subprocess sandbox isolation; before a patch, the MCP feature can be disabled.

Generated by AI from reports · Updated 11 days ago

Progress timeline

Nov 17
  1. Xianzhi Community (Aliyun)
    CVE-2026-30623 vulnerability analysis: reproduction and source code audit of the LiteLLM Proxy MCP interface command injection vulnerability

    The author audited and reproduced the command injection vulnerability CVE-2026-30623 in the LiteLLM Proxy MCP interface; an attacker holding a valid API Key can execute arbitrary system commands through the /mcp-rest/test/connection interface. When this interface receives a stdio-type MCP Server configuration, it does not validate command or args and passes them directly to a subprocess for execution; an attacker sets command to bash and passes a script via -c, bypassing the injection protection of list-based argument passing. Exploitation requires a valid Bearer API Key; unauthorized requests return 401, the test-connection branch does not use the database, and the vulnerability can still be triggered when the database is offline. The author reasons that an attacker could steal model keys, plant backdoors and move laterally. Remediation suggestions include command allowlisting, fine-grained API Key permissions and subprocess sandbox isolation; before a patch, the MCP feature can be disabled.

Related discussion

No discussion links have been collected for this event yet.

Attention trend

New sources per day

1 in 13 days·most 1 (Nov 17)·today 0

  • Nov 17: 1 new sources (1 outlets, 0 accounts)
  • Nov 18: 0 new sources (0 outlets, 0 accounts)
  • Nov 19: 0 new sources (0 outlets, 0 accounts)
  • Nov 20: 0 new sources (0 outlets, 0 accounts)
  • Nov 21: 0 new sources (0 outlets, 0 accounts)
  • Nov 22: 0 new sources (0 outlets, 0 accounts)
  • Nov 23: 0 new sources (0 outlets, 0 accounts)
  • Nov 24: 0 new sources (0 outlets, 0 accounts)
  • Nov 25: 0 new sources (0 outlets, 0 accounts)
  • Nov 26: 0 new sources (0 outlets, 0 accounts)
  • Nov 27: 0 new sources (0 outlets, 0 accounts)
  • Nov 28: 0 new sources (0 outlets, 0 accounts)
  • Nov 29: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 38·Peak in the comparable period 38 (Nov 22 21:00)·Change over the comparable past 24 hours 0%

010203040Nov 2221:00Nov 2311:00Nov 2402:00Nov 2416:00