Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-42271

published high CVSS 4.0 · 8.7

LiteLLM: Authenticated command execution via MCP stdio test endpoints

Published
08 May 2026, 03:35:16 UTC
Updated
15 Jul 2026, 00:57:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
BerriAI — litellm>= 1.74.2, < 1.83.7 Affected Not stated GitHub_M
Red Hat — rhoai/odh-llama-stack-core-rhel9Red Hat OpenShift AI 2.25 · 1781826406 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-llama-stack-core-rhel9Red Hat OpenShift AI 3.3 · 1782310008 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9Red Hat OpenShift AI 3.4 · 1781622627 and later · Other versions: affected Unaffected Not stated redhat-SADP
Red Hat — exploit-intelligence-tech-preview/vulnerability-analysis-rhel9Exploit Intelligence Unaffected Not required redhat-SADP
Red Hat — ansible-automation-platform-26/lightspeed-chatbot-rhel9Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — ansible-automation-platform-27/lightspeed-chatbot-rhel9Red Hat Ansible Automation Platform 2 Unaffected Not required redhat-SADP
Red Hat — rhoai/odh-mlflow-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP

Description

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.74.2 to before version 1.83.7, two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list — accepted a full server configuration in the request body, including the command, args, and env fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process. The endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host. This issue has been patched in version 1.83.7.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in LiteLLM, a proxy server (AI Gateway) for Large Language Model (LLM) APIs. Two endpoints, used for previewing an MCP server before saving it, accepted a full server configuration including command execution parameters. An authenticated user, even with low-privilege internal-user keys, could exploit this by sending a crafted configuration. This allows for arbitrary command execution on the proxy host with the privileges of the proxy process.

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
8.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.8 high redhat-SADP · adp CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
BerriAI litellm >= 1.74.2, < 1.83.7 (affected) GitHub_M · cna
Red Hat Red Hat OpenShift AI 2.25 1781826406 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 3.3 1782310008 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Red Hat OpenShift AI 3.4 1781622627 and later (unaffected · rpm)Default: affected redhat-SADP · adp
Red Hat Exploit Intelligence Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat Ansible Automation Platform 2 Default: unaffected redhat-SADP · adp
Red Hat Red Hat OpenShift AI (RHOAI) Default: unaffected redhat-SADP · adp

Weaknesses

3
  • CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (GitHub_M · cna)
  • CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (GitHub_M · cna)
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (redhat-SADP · adp)

References

9

Provider assertions

3

GitHub_M · cna

LiteLLM: Authenticated command execution via MCP stdio test endpoints

redhat-SADP · adp

litellm: LiteLLM: Authenticated command execution via MCP stdio test endpoints

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
40074115e8cbf2e222b601beb7c33c227a059dcc2eb600678fbd49cb32cff0a9
Ingested
23 Sep 2026, 09:14:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected