Threat Advisory

Actively exploited remote code execution vulnerability in BerriAI LiteLLM (CVE-2026-40217)

HIGH Actively exploited CVSS 8.8 remote-code-execution Published November 18, 2026

What happened

BerriAI LiteLLM is affected by CVE-2026-40217, an unprotected alternate channel vulnerability. The official CVE record states that LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code through bytecode rewriting at the /guardrails/test_custom_code URI. The attack is reachable over a network, requires a low-privileged account and requires no user action.

The vulnerability has a high severity rating, with a vendor score of 8.8. It is listed on CISA’s Known Exploited Vulnerabilities catalogue as actively exploited. The weakness is classified as CWE-420.

Who is affected

Organisations running BerriAI LiteLLM are within the product scope. The verified affected-version entry identifies LiteLLM with the identifier bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f. Further version information is not stated in the available facts. Patch status is also not stated; the vendor advisory should be checked for fixed versions.

Recommended actions

  1. Restrict network exposure of LiteLLM services, including access to the vulnerable URI, to reduce the ability to attack exposed services directly.
  2. Segment affected deployments from other systems to limit network access to the service.
  3. Place access controls in front of the service so that access to it is limited to authorised, low-privileged accounts and other permitted sources.
  4. Check the vendor advisory for fixed versions and apply a fixed version where one is identified.
Is your organisation exposed?

Argos matches live threat intelligence to your own asset inventory and tells you what actually affects you.

Discover Argos

At a glance

Severityhigh
CVSS8.8
CVECVE-2026-40217
PublishedNovember 18, 2026
VendorBerriAI
ProductsLiteLLM
Regionsglobal
Exeo Logo White Transparent

Get in touch

We respond within 1 hour on weekdays

This channel is not monitored by HR. For a job application or an internship, please visit our Join Us page.