The Library

LiteLLM Vulnerability CVE-2026-42271: Reported Exploited MCP Test Endpoint Flaw Chains With Starlette CVE-2026-48710 for No-Login Code Execution, and the Versions to Install

LiteLLM flaw CVE-2026-42271 is reported exploited, and chained with Starlette flaw CVE-2026-48710 it allows code execution with no login. Upgrade LiteLLM to 1.83.7 and Starlette to 1.0.1 or later.

Elite Performance Exclusive LLC 6 min read

Where Worldwide

LiteLLM Vulnerability CVE-2026-42271: Reported Exploited MCP Test Endpoint Flaw Chains With Starlette CVE-2026-48710 for No-Login Code Execution, and the Versions to Install
On this page 7 sections

LiteLLM, a software library with its own proxy server, has a command execution flaw, CVE-2026-42271, that attackers are reported to be exploiting. A researcher write-up shows it can be chained with a second flaw, CVE-2026-48710, so that someone with no login at all can run code on a vulnerable LiteLLM server. If your company or your developers run LiteLLM anywhere, check the version this week.

The flaw was disclosed in April 2026, and the US federal deadline to fix it passed on June 22, 2026. If a LiteLLM install was set up for an AI project and then forgotten, it may still be on a vulnerable version.

What happened with LiteLLM CVE-2026-42271

The GitLab Advisory Database lists CVE-2026-42271 as "LiteLLM: Authenticated command execution via MCP stdio test endpoints". In plain terms, LiteLLM has test endpoints for MCP connections, and a request to those endpoints could make the server run commands.

Here is what the primary sources confirm:

  • Disclosure date: Horizon3.ai's timeline says the flaw was disclosed on April 20, 2026, as a command injection vulnerability affecting LiteLLM MCP test endpoints.
  • Affected versions: the GitLab advisory lists all versions starting from 1.74.2 before 1.83.7.
  • Severity on its own: the advisory rates it 8.8, HIGH.
  • The catch: on its own the flaw needed a key. The advisory says: "The endpoints were gated only by a valid proxy API key, with no role check."

So by itself, an attacker needed a valid LiteLLM proxy API key, but any valid key would do, whatever role that key was meant to have.

How Starlette CVE-2026-48710 turns it into a no-login attack

The second flaw is CVE-2026-48710. GitHub's advisory for it lists versions 1.0.0 and earlier as affected. Horizon3.ai's fix advice names Starlette, a separate package that LiteLLM depends on, and says to upgrade it to 1.0.1 or later.

Horizon3.ai's write-up says that chaining the two flaws produces a much worse result: unauthenticated remote code execution against vulnerable LiteLLM deployments. It also states: "The chained vulnerability has been assessed as CVSS 10.0 Critical."

We have not confirmed the technical details of how the Starlette flaw gets around the key requirement, so we will not guess at them here. What matters for a business is the result: with both flaws present, no key is needed.

Is LiteLLM being exploited? Claimed vs confirmed

Status What the sources say
Confirmed by the advisory CVE-2026-42271 affects LiteLLM 1.74.2 up to before 1.83.7, rated 8.8 HIGH
Confirmed by the researchers The chain with CVE-2026-48710 gives unauthenticated remote code execution, assessed as CVSS 10.0 Critical
Reported Help Net Security reported that the flaw "is being exploited by attackers"
Reported Help Net Security reported that CISA directed US federal civilian agencies to address CVE-2026-42271 by June 22, 2026
Not known Who is being attacked, how many servers are affected, whether attacks use the single flaw or the full chain, and what signs of compromise to look for

We did not open CISA's own catalog entry, so the CISA deadline above comes from news coverage.

Why a LiteLLM flaw matters for a business network

Remote code execution means an outsider can run commands on the server as if they were sitting at it. From there they have whatever that server has: its files, its stored credentials and its network access to other systems.

There are three reasons this deserves attention even if no one in your company has heard of LiteLLM:

  1. AI tools often arrive quietly. A developer or contractor may have set up LiteLLM for a test or a prototype, and it may still be running. We covered this pattern in our post AI Can Build Your App. Who Is Going to Keep It Running?
  2. Two packages, not one. Horizon3.ai's advice names LiteLLM and Starlette separately. Updating one does not prove the other is fixed, which is the same lesson as our post Updated Is Not the Same as Patched.
  3. Someone has to own it. If no one is named as responsible for patching the server, the June deadline can pass without anyone noticing. See our post Who Is Patching the Software That Runs Your Business?

What to do this week: LiteLLM and Starlette checklist

Package Affected Fixed How to check
LiteLLM 1.74.2 up to before 1.83.7 1.83.7 or later Run pip show litellm in the environment where it runs, or check the container image version
Starlette 1.0.0 and earlier 1.0.1 or later Run pip show starlette in the same environment

Steps, in order:

  • Find every LiteLLM install. Ask your developers and contractors. Check servers, containers, cloud instances and developer machines.
  • Check the LiteLLM version. Anything from 1.74.2 up to before 1.83.7 is affected.
  • Upgrade LiteLLM to 1.83.7 or later.
  • Check Starlette in the same environment. If it is 1.0.0 or earlier, upgrade to 1.0.1 or later.
  • Restart and confirm. Check the version the running service reports, not only what the installer says.
  • Review who holds proxy API keys. The advisory says a valid key was the only gate on the test endpoints, so every key holder had that access.
  • If a vulnerable version was reachable from the internet, have whoever runs it review the server for activity nobody can explain. The sources we used do not list signs of compromise, so there is no checklist of indicators to give you.

If you host AI tools yourself, our self-hosting and infrastructure page explains how we set up and maintain servers.

LiteLLM vulnerability questions people are asking

What is CVE-2026-42271?

It is a command execution flaw in LiteLLM's MCP test endpoints. The GitLab advisory rates it 8.8 HIGH.

Which LiteLLM versions are affected?

All versions starting from 1.74.2 before 1.83.7, according to the GitLab advisory.

What is the fixed LiteLLM version?

LiteLLM 1.83.7. Horizon3.ai advises upgrading to 1.83.7 or later.

Is the LiteLLM vulnerability being exploited?

Help Net Security reported that it is being exploited by attackers. Who is being attacked, and how, is not known from the sources we used.

What is CVE-2026-48710?

It is the second flaw in the chain. GitHub's advisory lists versions 1.0.0 and earlier as affected, and the fix advice is Starlette 1.0.1 or later.

Is the LiteLLM flaw rated 10.0?

The LiteLLM flaw on its own is rated 8.8. Horizon3.ai says the chain of both flaws was assessed as CVSS 10.0 Critical.

Do I need a login to exploit LiteLLM?

The single flaw needed a valid proxy API key. With the Starlette flaw chained in, Horizon3.ai says no login is needed.

Do I need to upgrade Starlette too?

Yes. Horizon3.ai's advice is to upgrade LiteLLM to 1.83.7 or later and make sure Starlette is upgraded to 1.0.1 or later.

What was the CISA deadline for CVE-2026-42271?

Help Net Security reported that CISA directed US federal civilian agencies to address it by June 22, 2026. That date has passed.

The bigger lesson

AI tools are server software. A gateway or proxy that sits between your apps and AI models has the same needs as any other server: someone who knows it exists, keeps a record of its versions and its dependencies, and patches both. The LiteLLM chain shows why the dependency matters as much as the main package. A flaw rated 8.8 that needed a key became a 10.0 that needed nothing, because of a second package many people would never think to check.

To have your AI tools and servers reviewed and kept patched, see security hardening or request a quote.

Get security alerts like this by email, plus our free checklist, at /security-alerts.

Sources: GitLab Advisory Database, CVE-2026-42271; Horizon3.ai, CVE-2026-42271 chained with CVE-2026-48710; GitHub Advisory Database, CVE-2026-48710; Help Net Security.

Share X LinkedIn Facebook

Was this article helpful?

We only keep the note with this article. No name, no email.

Protected by reCAPTCHA - Privacy and Terms.

Have a question about this article?

Ask it here and we will answer you directly by email. Questions are private, never posted.

Protected by reCAPTCHA - Privacy and Terms.

Security alerts by email

Hear about the next one first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.

Want a result like this?

Security alerts, breaches and the technology a business runs on: what happened, who it affects and what to do.

Get a Tech Quote

Security alerts by email

The next security hole is already out there. Hear about it from us first.

When attackers start using a flaw in software businesses run on, we email what it is, whether it touches you and what to do that week, with a round-up of our latest security writing. Free, one-click unsubscribe. You get the checklist straight away: 12 things to secure this week.

Protected by reCAPTCHA - Privacy and Terms.