Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 6.5%top 6.9%

CVE-2026-40217: CWE-420 Unprotected Alternate Channel in BerriAI LiteLLM

0
High
VulnerabilityCVE-2026-40217cvecve-2026-40217cwe-420
Published: 04/10/2026 (04/10/2026, 13:43:23 UTC)
Source: CVE Database V5
Vendor/Project: BerriAI
Product: LiteLLM

Description

LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:10:25 UTC

Technical Analysis

CVE-2026-40217 is a vulnerability in BerriAI LiteLLM that permits remote code execution through bytecode rewriting at a specific URI endpoint (/guardrails/test_custom_code). This issue stems from an unprotected alternate channel (CWE-420) and improper control over code generation (CWE-94). The CVSS 3.1 score is 8.8, indicating high severity with network attack vector, low attack complexity, requiring low privileges and no user interaction, and impacting confidentiality, integrity, and availability. Although no direct patch or remediation level is provided in the input, Red Hat has published advisories referencing this CVE, suggesting that fixes or mitigations may be available through their errata. The vulnerability affects LiteLLM versions up to the date 2026-04-08, but exact version identifiers are not specified.

Potential Impact

Successful exploitation of this vulnerability allows remote attackers to execute arbitrary code on the affected system, potentially leading to full compromise of confidentiality, integrity, and availability of the system running LiteLLM. The vulnerability is exploitable over the network with low complexity and requires only low privileges, increasing the risk of exploitation. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Red Hat has published advisories referencing CVE-2026-40217, indicating that updates or fixes may be available through Red Hat errata. Users should monitor the referenced Red Hat advisories (https://access.redhat.com/security/cve/CVE-2026-40217, https://access.redhat.com/errata/RHSA-2026:24866, https://access.redhat.com/errata/RHSA-2026:30056) for official patches or updates. Until a patch is applied, restrict access to the vulnerable URI endpoint (/guardrails/test_custom_code) if possible to mitigate risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-04-10T13:43:22.641Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-40217","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24866","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30056","vendor":"Red Hat"}]

Threat ID: 69d907431cc7ad14dac20a7e

Added to database: 04/10/2026, 14:20:51 UTC

Last enriched: 07/15/2026, 09:10:25 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 240

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses