Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Evidence dossier
CVE-2026-42271
LiteLLM: Authenticated command execution via MCP stdio test endpoints
gen-56ccdaf9Normalized restatement
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.
- State
- PUBLISHED
- Published
- May 8, 2026
- Updated
- Jul 15, 2026
- Evidence coverage
- 85%
2026-07-18 · v2026.06.15 · percentile 99.6%
Distinct CVSS assessments remain side by side; none are averaged.
Source comparison
Who said what
LiteLLM: Authenticated command execution via MCP stdio test endpoints
litellm: LiteLLM: Authenticated command execution via MCP stdio test endpoints
BerriAI LiteLLM Command Injection Vulnerability
Probability 0.801880000000; percentile 0.995740000000
Applicability
Cited product scope
[{"status": "affected", "version": ">= 1.74.2, < 1.83.7"}]unknown[]unknown[]unknown[]unknown[{"status": "unaffected", "version": "1781826406", "lessThan": "*", "versionType": "rpm"}]unknown[{"status": "unaffected", "version": "1782310008", "lessThan": "*", "versionType": "rpm"}]unknown[{"status": "unaffected", "version": "1781622627", "lessThan": "*", "versionType": "rpm"}]unknown[]unknowncpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*; start including 1.74.2; end excluding 1.83.7supportedcpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*; start including 2.25; end excluding 2.25.8supportedcpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*; start including 3.3; end excluding 3.3.4supportedcpe:2.3:a:redhat:openshift_ai:3.4:*:*:*:*:*:*:*supportedAssessments
CVSS by origin
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLimitations and unknowns
- KEV membership is authoritative for the catalog, not proof of exposure in any environment.
- EPSS is a dated model probability and not an individual-environment prediction.
- Affected or fixed status applies only to the exact cited product and version scope; unresolved scope remains unknown.
- NVD-carried upstream facts remain derivative and are not independent corroboration.
- Only NVD metrics validated under the generation-bound calculator are Public Priority eligible; direct CVE record metrics remain display-only.
- NVD CVSS source eligibility is closed: NVD-authored, exact record-source, or registered same-CVE container origin; unmapped sources remain display-only.
- Factor D is unknown in Public Core because no accepted canonical mapping-obligation ledger is present.
- Core replay supports the active and immediately prior generation; retrospective valid-at replay is deferred.