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.
LiteLLM, an AI gateway proxy for routing requests to large language model APIs, contains a command injection flaw in two MCP server test endpoints. Any user holding a valid API key, including low-privilege internal-user keys, can send a crafted request that causes the proxy to spawn an arbitrary OS command on the host. Versions from 1.74.2 up to 1.83.7 are affected, as is Red Hat OpenShift AI in several release lines that bundle the vulnerable component.
The two affected endpoints, POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list, were designed to preview a Model Context Protocol server configuration before it was saved. They accepted a full stdio-transport configuration in the request body, including the command, args, and env fields. When the proxy received a stdio-type configuration, it attempted to establish a connection by spawning the caller-supplied command as a subprocess, inheriting the privileges of the proxy process. No validation or sanitization was applied to the command field, and no role check was enforced beyond confirming that the request carried a valid API key. This is a textbook OS command injection flaw (CWE-78): attacker-controlled data flows directly into a process-creation call without any trust boundary enforcement.
An attacker who holds any valid LiteLLM proxy API key, including a low-privilege internal-user key, can send a POST request to either vulnerable endpoint with a crafted stdio-transport body specifying an arbitrary command and arguments. The proxy spawns that command as a subprocess on the host, giving the attacker code execution at the privilege level of the proxy process. The result is full confidentiality, integrity, and availability impact on the host. The only preconditions are possession of a valid API key and network access to the proxy endpoints, both of which are realistic for any authenticated user of the gateway.
This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
If BerriAI LiteLLM runs inside your authorization boundary, yes. CVE-2026-42271 appears in CISA's Known Exploited Vulnerabilities (KEV) catalog, and its remediation deadline of June 22, 2026 has already passed. An unpatched KEV inside a FedRAMP boundary is an assessor finding; an overdue one is visible to both your assessor and your sponsoring agency now. At this point, you either remediate it or formally document the mitigation and the delay.
Knox does not patch your software. Remediating BerriAI LiteLLM is your responsibility under the FedRAMP shared-responsibility model. What Knox provides is the pre-authorized, single-tenant boundary to remediate within, plus continuous compliance monitoring and audit-artifact coverage to document the fix for your next assessment. Applying the patch is yours to own; managing your compliance posture while you do it is not something you have to handle on your own.
Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues on an ongoing basis. For a CVE like CVE-2026-42271, that means exposure surfaces during continuous monitoring rather than waiting for an assessor to flag it at a scheduled review.
Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.
An unremediated CVE-2026-42271 is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is precisely what turns a routine continuous-monitoring review into a difficult conversation with your sponsoring agency. Closing it out now and documenting why the deadline was missed is what keeps your authorization clean and the agency relationship intact.
Schedule a meeting to discuss scope, parse readiness, and map your company’s accelerated path to FedRAMP authorization.









_Horizontal_RGB.png)








