| Reporter | Title | Published | Views | Family All 30 |
|---|---|---|---|---|
| Exploit for Command Injection in Litellm | 20 May 202601:12 | – | githubexploit | |
| Exploit for Command Injection in Litellm | 7 Jul 202623:52 | – | githubexploit | |
| CVE-2026-42271 | 8 May 202603:35 | – | attackerkb | |
| CVE-2026-42271 vulnerabilities | 6 May 202619:17 | – | cgr | |
| CVE-2026-42271 | 8 May 202604:40 | – | circl | |
| BerriAI LiteLLM Command Injection Vulnerability | 8 Jun 202600:00 | – | cisa_kev | |
| CISA Adds Two Known Exploited Vulnerabilities to Catalog | 8 Jun 202612:00 | – | cisa | |
| LiteLLM 命令注入漏洞 | 8 May 202600:00 | – | cnnvd | |
| CVE-2026-42271 | 8 May 202603:35 | – | cve | |
| CVE-2026-42271 LiteLLM: Authenticated command execution via MCP stdio test endpoints | 8 May 202603:35 | – | cvelist |
#%NASL_MIN_LEVEL 80900
#
## (C) Tenable, Inc.
#
include('compat.inc');
if (description)
{
script_id(324115);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/02");
script_cve_id("CVE-2026-42271");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2026/06/22");
script_name(english:"LiteLLM 1.74.2 < 1.83.7 Command Injection Vulnerability (GHSA-v4p8-mg3p-g94g)");
script_set_attribute(attribute:"synopsis", value:
"The remote host has a compromised version of LiteLLM installed.");
script_set_attribute(attribute:"description", value:
"The version of the LiteLLM Python package installed on the remote host is 1.74.2 before 1.83.7. It is, therefore,
affected by a vulnerability:
- 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. (CVE-2026-42271)
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://github.com/advisories/GHSA-v4p8-mg3p-g94g");
script_set_attribute(attribute:"see_also", value:"https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable");
script_set_attribute(attribute:"solution", value:
"Upgrade to LiteLLM version 1.83.7 or later.");
script_set_attribute(attribute:"agent", value:"all");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
script_set_attribute(attribute:"cvss4_vector", value:"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");
script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:A");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-42271");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2026/04/21");
script_set_attribute(attribute:"patch_publication_date", value:"2026/04/19");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/07/01");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"asset_categories", value:"component");
script_set_attribute(attribute:"cpe", value:"cpe:/a:litellm:litellm");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Artificial Intelligence");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("python_litellm_detect.nasl");
script_require_ports("installed_sw/LiteLLM");
exit(0);
}
include('python.inc');
var pkg = 'LiteLLM';
var cpe = 'cpe:/a:litellm:litellm';
var libs = python::get_package_info(pkg_name:pkg, cpe:cpe);
if (empty_or_null(libs))
audit(AUDIT_NOT_INST, pkg);
vcf::check_all_backporting(app_info:libs);
var constraints = [
{ 'min_version' : '1.74.2', 'fixed_version' : '1.83.7' }
];
vcf::check_version_and_report(app_info:libs, constraints:constraints, severity:SECURITY_HOLE);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation