BerriAI LiteLLM: attackers can run their own code
WHAT IT IS · AI TOOLSIt connects to AI models and often holds the keys to paid services and data.
DO THIS FIRSTUpdate it and change any API keys stored in it. Not sure if you use it? Send this page to your IT provider or security lead and ask.
TECHNICAL SUMMARY LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
WHY THIS VERDICT Attacks are reported but not confirmed by an authoritative source, and the vulnerability is more than 90 days old.
WHY IT RANKS HERE Exploitation is reported. Ready-made attack tools are public. The first report is 5 days old.
- HIGHEST CONFIRMED RUNG
- NOTHING YET
- CISA KEV
- NOT YET
- EXPLOIT CODE
- READY TO USE
How far has it climbed?
01 TALK
□ NO EVIDENCE YETNEWEST EVIDENCE NONE YETNo evidence yet.
SRC: NONE YET02 EXPOSED
□ NOT TRACKED YETNO SOURCE FOR THIS STEP YETWe have no source that counts exposed systems yet. Internet scan data needs a partnership we do not have. No evidence here does not mean nothing is exposed.
03 TRIED
▨ REPORTED, NOT CONFIRMEDNEWEST EVIDENCE · 1 SOURCEAttacks that worked are reported (step 4), so attempts count as reported too.
04 EXPLOITED
▨ REPORTED, NOT CONFIRMEDNEWEST EVIDENCE · 1 SOURCEExploitation of CVE-2026-40217 reported (CIRCL sighting).
05 DAMAGE
□ NOT TRACKED YETNO SOURCE FOR THIS STEP YETBreach notices and filings rarely name the flaw that was used, so we cannot link them to this event yet. No evidence here does not mean no harm.
When each thing happened
- DISCLOSED
- EXPLOIT CODE PUBLICDATE UNKNOWN
- FIRST ATTACK REPORT
- CISA KEV LISTINGNOT YET
- US FEDERAL DEADLINENOT YET
Questions to ask this week
- Do we run BerriAI LiteLLM? If yes, is it patched or cut off from the internet?
- Who owns fixing it, and by what date?
- Have we checked for signs of attack since the first report, not just since the patch?
How it unfolded
- APR 10, 2026CISA Vulnrichment notes a public proof of concept for CVE-2026-40217
- MAY 19, 20261 public GitHub repository claims a proof of concept for CVE-2026-40217
- Attack activity. NOV 5, 2026Exploitation of CVE-2026-40217 reported (CIRCL sighting)
SOURCES
- [1] nuclei-templates: Nuclei scan template: LiteLLM < 1.25.0 - Remote Code Execution, NOV 7
- [2] CIRCL Vulnerability-Lookup sightings: Exploitation of CVE-2026-40217 reported (CIRCL sighting), NOV 5
- [3] PoC-in-GitHub: 1 public GitHub repository claims a proof of concept for CVE-2026-40217, MAY 19
- [4] CVE List V5 and CISA Vulnrichment: CISA Vulnrichment notes a public proof of concept for CVE-2026-40217, APR 10