{"id":"CVE-2026-42271","aliases":["GHSA-v4p8-mg3p-g94g","PYSEC-2026-2599"],"summary":"LiteLLM: Authenticated command execution via MCP stdio test endpoints","published_at":"2026-04-25T23:27:54Z","modified_at":"2026-09-10T03:51:03.195872Z","products":[],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":true,"date_added":"2026-06-08T00:00:00Z","due_date":"2026-06-22T00:00:00Z","ransomware":false,"required_action":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable."},"public_exploit":true,"exploits":[{"source":"metasploit","id":"exploit/multi/http/litellm_mcp_test_cmd_injection","name":"BerriAI LiteLLM Proxy MCP Test Endpoint Command Execution","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/litellm_mcp_test_cmd_injection.rb","published":"2026-04-21","verified":false},{"source":"nuclei-templates","id":"http/cves/2026/CVE-2026-42271","name":"LiteLLM - Command Injection","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42271.yaml","verified":false}],"epss":{"score":0.9144499897956848,"percentile":0.998170018196106,"date":"2026-11-19T00:00:00Z"},"priority":32.8,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"BerriAI/litellm","versions":[">= 1.74.2, < 1.83.7"],"provider":"cvelistv5","source":"CVE-2026-42271","relation":"self"},{"ecosystem":"NVD","package":"litellm:litellm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.74.2"},{"fixed":"1.83.7"}]}],"fixed":["1.83.7"],"provider":"nvd","source":"CVE-2026-42271","relation":"self"},{"ecosystem":"NVD","package":"redhat:openshift_ai","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.25"},{"fixed":"2.25.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.3"},{"fixed":"3.3.4"}]}],"versions":["3.4"],"fixed":["2.25.8","3.3.4"],"provider":"nvd","source":"CVE-2026-42271","relation":"self"},{"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.74.2"},{"fixed":"1.83.7"}]}],"versions":["1.74.12","1.74.14","1.74.15","1.74.15.post1","1.74.15.post2","1.74.2","1.74.3","1.74.3.post1","1.74.3rc1","1.74.3rc2","1.74.3rc3","1.74.4","1.74.4.dev1","1.74.6","1.74.7","1.74.7.post1","1.74.7.post2","1.74.7rc1","1.74.8","1.74.8.dev2","1.74.9","1.74.9.dev1","1.74.9.dev2","1.74.9.post1","1.74.9.post2","1.75.0","1.75.2","1.75.3","1.75.4","1.75.5.post1","1.75.5.post2","1.75.6","1.75.7","1.75.8","1.75.9","1.76.0","1.76.1","1.76.2","1.76.3","1.77.0","1.77.1","1.77.2.post1","1.77.3","1.77.4","1.77.4.dev1","1.77.5","1.77.7","1.78.0","1.78.0rc2","1.78.2","1.78.3","1.78.4","1.78.5","1.78.6","1.78.7","1.79.0","1.79.0.dev1","1.79.0.dev2","1.79.0.dev3","1.79.1","1.79.2","1.79.3","1.79.3.dev8","1.80.0","1.80.10","1.80.11","1.80.12","1.80.13","1.80.15","1.80.16","1.80.17","1.80.5","1.80.6","1.80.7","1.80.8","1.80.9","1.81.0","1.81.1","1.81.10","1.81.11","1.81.12","1.81.13","1.81.14","1.81.15","1.81.16","1.81.3","1.81.4","1.81.5","1.81.6","1.81.7","1.81.8","1.81.9","1.81.9.dev1","1.82.0","1.82.1","1.82.2","1.82.3","1.82.4","1.82.5","1.82.6","1.83.0","1.83.1","1.83.2","1.83.3","1.83.4","1.83.5","1.83.6"],"fixed":["1.83.7"],"provider":"osv","source":"GHSA-v4p8-mg3p-g94g","relation":"self"},{"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.74.2"},{"fixed":"1.83.7"}]}],"versions":["1.74.12","1.74.14","1.74.15","1.74.15.post1","1.74.15.post2","1.74.2","1.74.3","1.74.3.post1","1.74.3rc1","1.74.3rc2","1.74.3rc3","1.74.4","1.74.4.dev1","1.74.6","1.74.7","1.74.7.post1","1.74.7.post2","1.74.7rc1","1.74.8","1.74.8.dev2","1.74.9","1.74.9.dev1","1.74.9.dev2","1.74.9.post1","1.74.9.post2","1.75.0","1.75.2","1.75.3","1.75.4","1.75.5.post1","1.75.5.post2","1.75.6","1.75.7","1.75.8","1.75.9","1.76.0","1.76.1","1.76.2","1.76.3","1.77.0","1.77.1","1.77.2.post1","1.77.3","1.77.4","1.77.4.dev1","1.77.5","1.77.7","1.78.0","1.78.0rc2","1.78.2","1.78.3","1.78.4","1.78.5","1.78.6","1.78.7","1.79.0","1.79.0.dev1","1.79.0.dev2","1.79.0.dev3","1.79.1","1.79.2","1.79.3","1.79.3.dev8","1.80.0","1.80.10","1.80.11","1.80.12","1.80.13","1.80.15","1.80.16","1.80.17","1.80.5","1.80.6","1.80.7","1.80.8","1.80.9","1.81.0","1.81.1","1.81.10","1.81.11","1.81.12","1.81.13","1.81.14","1.81.15","1.81.16","1.81.3","1.81.4","1.81.5","1.81.6","1.81.7","1.81.8","1.81.9","1.81.9.dev1","1.82.0","1.82.1","1.82.2","1.82.3","1.82.4","1.82.5","1.82.6","1.83.0","1.83.1","1.83.2","1.83.3","1.83.4","1.83.5","1.83.6"],"fixed":["1.83.7"],"provider":"osv","source":"PYSEC-2026-2599","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"not_affected","packages":["exploit-intelligence-tech-preview/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-26/lightspeed-chatbot-rhel9","ansible-automation-platform-27/lightspeed-chatbot-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-mlflow-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-llama-stack-core-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:28960"],"provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/odh-operator-bundle","rhoai/odh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"fixed","packages":["rhoai/odh-llama-stack-core-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:30056"],"provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"not_affected","packages":["rhoai/odh-operator-bundle","rhoai/odh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:27784"],"provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["rhoai/odh-operator-bundle","rhoai/odh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42271"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-1288","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-1288","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-04-27T22:00:00Z","modified_at":"2026-06-25T22:00:00Z","summary":"LiteLLM: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in LiteLLM ausnutzen, um einen SQL-Injection-Angriff durchzuführen und sich unbefugten Zugriff zu verschaffen oder um beliebigen Programmcode mit den Rechten des Dienstes auszuführen\n\nLiteLLM ist ein Gateway, das eine einheitliche Schnittstelle für verschiedene Large Language Models (LLMs) bietet.","severity":[{"type":"BSI","score":"kritisch","source":"WID-SEC-W-2026-1288"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1288.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-1288"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-r75f-5x8p-qvmc"},{"type":"WEB","url":"https://webflow.sysdig.com/blog/cve-2026-42208-targeted-sql-injection-against-litellms-authentication-path-discovered-36-hours-following-vulnerability-disclosure"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"WEB","url":"https://www.cisa.gov/news-events/alerts/2026/06/08/cisa-adds-two-known-exploited-vulnerabilities-catalog"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:27784"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:30056"}]},{"provider":"cvelistv5","source_id":"CVE-2026-42271","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-42271","license":"CC-BY-4.0","published_at":"2026-05-08T03:35:16.758Z","modified_at":"2026-07-15T00:57:49.325Z","summary":"LiteLLM: Authenticated command execution via MCP stdio test endpoints","details":"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.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2026-42271"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"redhat-SADP:CVE-2026-42271"}],"affected":[{"ecosystem":"CVE","package":"BerriAI/litellm","versions":[">= 1.74.2, < 1.83.7"],"provider":"cvelistv5","source":"CVE-2026-42271","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"}]},{"provider":"nvd","source_id":"CVE-2026-42271","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271","severity":[],"affected":[{"ecosystem":"NVD","package":"litellm:litellm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.74.2"},{"fixed":"1.83.7"}]}],"fixed":["1.83.7"],"provider":"nvd","source":"CVE-2026-42271","relation":"self"},{"ecosystem":"NVD","package":"redhat:openshift_ai","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.25"},{"fixed":"2.25.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.3"},{"fixed":"3.3.4"}]}],"versions":["3.4"],"fixed":["2.25.8","3.3.4"],"provider":"nvd","source":"CVE-2026-42271","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-v4p8-mg3p-g94g","relation":"self","url":"https://osv.dev/vulnerability/GHSA-v4p8-mg3p-g94g","license":"CC-BY-4.0","published_at":"2026-04-25T23:27:54Z","modified_at":"2026-09-10T03:51:03.195872Z","summary":"LiteLLM: Authenticated command execution via MCP stdio test endpoints","details":"### Impact\n\nTwo 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.\n\nThe 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.\n\n### Patches\n\nFixed in **`1.83.7`**. Both test endpoints now require the `PROXY_ADMIN` role, bringing them into line with the save endpoint.\n\n### Workarounds\n\nIf upgrading is not immediately possible, developers should block `POST /mcp-rest/test/connection` and `POST /mcp-rest/test/tools/list` at their reverse proxy or API gateway.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GHSA-v4p8-mg3p-g94g"},{"type":"CVSS_V4","score":"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","source":"GHSA-v4p8-mg3p-g94g"}],"affected":[{"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.74.2"},{"fixed":"1.83.7"}]}],"versions":["1.74.12","1.74.14","1.74.15","1.74.15.post1","1.74.15.post2","1.74.2","1.74.3","1.74.3.post1","1.74.3rc1","1.74.3rc2","1.74.3rc3","1.74.4","1.74.4.dev1","1.74.6","1.74.7","1.74.7.post1","1.74.7.post2","1.74.7rc1","1.74.8","1.74.8.dev2","1.74.9","1.74.9.dev1","1.74.9.dev2","1.74.9.post1","1.74.9.post2","1.75.0","1.75.2","1.75.3","1.75.4","1.75.5.post1","1.75.5.post2","1.75.6","1.75.7","1.75.8","1.75.9","1.76.0","1.76.1","1.76.2","1.76.3","1.77.0","1.77.1","1.77.2.post1","1.77.3","1.77.4","1.77.4.dev1","1.77.5","1.77.7","1.78.0","1.78.0rc2","1.78.2","1.78.3","1.78.4","1.78.5","1.78.6","1.78.7","1.79.0","1.79.0.dev1","1.79.0.dev2","1.79.0.dev3","1.79.1","1.79.2","1.79.3","1.79.3.dev8","1.80.0","1.80.10","1.80.11","1.80.12","1.80.13","1.80.15","1.80.16","1.80.17","1.80.5","1.80.6","1.80.7","1.80.8","1.80.9","1.81.0","1.81.1","1.81.10","1.81.11","1.81.12","1.81.13","1.81.14","1.81.15","1.81.16","1.81.3","1.81.4","1.81.5","1.81.6","1.81.7","1.81.8","1.81.9","1.81.9.dev1","1.82.0","1.82.1","1.82.2","1.82.3","1.82.4","1.82.5","1.82.6","1.83.0","1.83.1","1.83.2","1.83.3","1.83.4","1.83.5","1.83.6"],"fixed":["1.83.7"],"provider":"osv","source":"GHSA-v4p8-mg3p-g94g","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42271"}]},{"provider":"osv","source_id":"PYSEC-2026-2599","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-2599","license":"CC-BY-4.0","published_at":"2026-07-13T15:02:53.54133Z","modified_at":"2026-07-13T16:32:04.086728Z","summary":"LiteLLM: Authenticated command execution via MCP stdio test endpoints","details":"### Impact\n\nTwo 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.\n\nThe 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.\n\n### Patches\n\nFixed in **`1.83.7`**. Both test endpoints now require the `PROXY_ADMIN` role, bringing them into line with the save endpoint.\n\n### Workarounds\n\nIf upgrading is not immediately possible, developers should block `POST /mcp-rest/test/connection` and `POST /mcp-rest/test/tools/list` at their reverse proxy or API gateway.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"PYSEC-2026-2599"},{"type":"CVSS_V4","score":"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","source":"PYSEC-2026-2599"}],"affected":[{"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.74.2"},{"fixed":"1.83.7"}]}],"versions":["1.74.12","1.74.14","1.74.15","1.74.15.post1","1.74.15.post2","1.74.2","1.74.3","1.74.3.post1","1.74.3rc1","1.74.3rc2","1.74.3rc3","1.74.4","1.74.4.dev1","1.74.6","1.74.7","1.74.7.post1","1.74.7.post2","1.74.7rc1","1.74.8","1.74.8.dev2","1.74.9","1.74.9.dev1","1.74.9.dev2","1.74.9.post1","1.74.9.post2","1.75.0","1.75.2","1.75.3","1.75.4","1.75.5.post1","1.75.5.post2","1.75.6","1.75.7","1.75.8","1.75.9","1.76.0","1.76.1","1.76.2","1.76.3","1.77.0","1.77.1","1.77.2.post1","1.77.3","1.77.4","1.77.4.dev1","1.77.5","1.77.7","1.78.0","1.78.0rc2","1.78.2","1.78.3","1.78.4","1.78.5","1.78.6","1.78.7","1.79.0","1.79.0.dev1","1.79.0.dev2","1.79.0.dev3","1.79.1","1.79.2","1.79.3","1.79.3.dev8","1.80.0","1.80.10","1.80.11","1.80.12","1.80.13","1.80.15","1.80.16","1.80.17","1.80.5","1.80.6","1.80.7","1.80.8","1.80.9","1.81.0","1.81.1","1.81.10","1.81.11","1.81.12","1.81.13","1.81.14","1.81.15","1.81.16","1.81.3","1.81.4","1.81.5","1.81.6","1.81.7","1.81.8","1.81.9","1.81.9.dev1","1.82.0","1.82.1","1.82.2","1.82.3","1.82.4","1.82.5","1.82.6","1.83.0","1.83.1","1.83.2","1.83.3","1.83.4","1.83.5","1.83.6"],"fixed":["1.83.7"],"provider":"osv","source":"PYSEC-2026-2599","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42271"},{"type":"PACKAGE","url":"https://pypi.org/project/litellm"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v4p8-mg3p-g94g"}]},{"provider":"redhat-vex","source_id":"CVE-2026-42271","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-42271","license":"CC-BY-4.0","published_at":"2026-05-08T03:35:16.758Z","modified_at":"2026-06-22T15:51:09Z","summary":"litellm: LiteLLM: Authenticated command execution via MCP stdio test endpoints","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-42271"},{"type":"Red Hat","score":"Important","source":"CVE-2026-42271"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"not_affected","packages":["exploit-intelligence-tech-preview/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-26/lightspeed-chatbot-rhel9","ansible-automation-platform-27/lightspeed-chatbot-rhel9"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-mlflow-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-llama-stack-core-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:28960"],"provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/odh-operator-bundle","rhoai/odh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"fixed","packages":["rhoai/odh-llama-stack-core-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:30056"],"provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"not_affected","packages":["rhoai/odh-operator-bundle","rhoai/odh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"fixed","packages":["rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:27784"],"provider":"redhat-vex","source":"CVE-2026-42271"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.4","cpe":"cpe:/a:redhat:openshift_ai:3.4::el9","status":"not_affected","packages":["rhoai/odh-operator-bundle","rhoai/odh-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-42271"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42271.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-42271"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467924"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-42271"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}]}],"references":[{"type":"WEB","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"WEB","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271"},{"type":"PACKAGE","url":"https://github.com/BerriAI/litellm"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42271"},{"type":"PACKAGE","url":"https://pypi.org/project/litellm"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v4p8-mg3p-g94g"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42271.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-42271"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467924"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-42271"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-1288","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-1288","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-06-25T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-42271","url":"https://www.cve.org/CVERecord?id=CVE-2026-42271","license":"CC-BY-4.0","modified_at":"2026-07-15T00:57:49.325Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-42271","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271","relation":"self"},{"provider":"osv","source_id":"GHSA-v4p8-mg3p-g94g","url":"https://osv.dev/vulnerability/GHSA-v4p8-mg3p-g94g","license":"CC-BY-4.0","modified_at":"2026-09-10T03:51:03.195872Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-2599","url":"https://osv.dev/vulnerability/PYSEC-2026-2599","license":"CC-BY-4.0","modified_at":"2026-07-13T16:32:04.086728Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-42271","url":"https://access.redhat.com/security/cve/CVE-2026-42271","license":"CC-BY-4.0","modified_at":"2026-06-22T15:51:09Z","relation":"self"}]}
