{"schema":"threatline.record/2","record":{"id":"CVE-2026-42271","aliases":["GHSA-v4p8-mg3p-g94g","PYSEC-2026-2599"],"summary":"BerriAI LiteLLM Command Injection Vulnerability","details":"BerriAI LiteLLM contains a command injection vulnerability that could allow any authenticated user, including holders of low-privilege internal-user keys, to run arbitrary commands on the host.","categories":["Libraries & packages"],"product":"LiteLLM","vendor":"BerriAI","ecosystem":"PyPI","affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-42271","source_modified_at":"2026-07-15T00:57:49.325Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"litellm","vendor":"BerriAI","versions":[{"version":">= 1.74.2, < 1.83.7","status":"affected"}],"defaultStatus":null},{"source":"GitHub Advisory Database","source_url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g","source_modified_at":"2026-09-15T14:20:40Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"litellm"},"range":">=1.74.2, <1.83.7"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-v4p8-mg3p-g94g","source_modified_at":"2026-09-10T03:51:03.195872876Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"litellm","ecosystem":"PyPI","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"]}],"fixed_versions":[{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-v4p8-mg3p-g94g","source_modified_at":"2026-09-10T03:51:03.195872876Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"litellm","ecosystem":"PyPI","purl":"pkg:pypi/litellm"},"version":"1.83.7"}],"cvss":8.7,"severity":"High","kev":{"listed":true,"date_added":"2026-06-08","due_date":"2026-06-22","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.","ransomware_campaign_use":"Unknown"},"epss":{"probability":0.9257,"percentile":0.9983,"score_date":"2026-10-23"},"published_at":"2026-05-08T03:35:16.758Z","modified_at":"2026-09-15T14:20:40Z","provenance":[{"source":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T17:00:09.9001Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42271","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-07-15T00:57:49.325Z"},{"source":"GitHub Advisory Database","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-15T14:20:40Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-v4p8-mg3p-g94g","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-10T03:51:03.195872876Z"},{"source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/litellm_mcp_test_cmd_injection.rb","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-04-21"},{"source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42271.yaml","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":null},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42271","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CISA KEV","CVE List","GitHub Advisory Database","OSV","Metasploit","Nuclei","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable","tags":["x_refsource_MISC"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42271","source":"CISA KEV"},{"source":"CVE List","url":"https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42271","tags":["government-resource"]},{"source":"CVE List","url":"https://access.redhat.com/security/cve/CVE-2026-42271","tags":["vdb-entry","x_refsource_REDHAT"]},{"source":"CVE List","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467924","tags":["issue-tracking","x_refsource_REDHAT"]},{"source":"CVE List","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42271.json","tags":["x_sadp-csaf-vex"]},{"source":"CVE List","url":"https://access.redhat.com/errata/RHSA-2026:28960","tags":["vendor-advisory","x_refsource_REDHAT"]},{"source":"CVE List","url":"https://access.redhat.com/errata/RHSA-2026:30056","tags":["vendor-advisory","x_refsource_REDHAT"]},{"source":"CVE List","url":"https://access.redhat.com/errata/RHSA-2026:27784","tags":["vendor-advisory","x_refsource_REDHAT"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"active","automatable":"no","technical_impact":"total","assessed_at":"2026-05-08T00:00:00+00:00"},"exploits":[{"source":"Metasploit","kind":"Exploit module","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","date":"2026-04-21","added":"2026-09-14","check":true},{"source":"Nuclei","kind":"Scanner template","name":"LiteLLM - Command Injection","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42271.yaml"}],"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-15T14:20:40Z","content_hash":"971f8f932e952464498d7b37edb52f288d80ab0ef38fb133ca29e1263a906b20"}}
