Skip to main content

Python CVE-2026-35029

HIGH
Incorrect Authorization (CWE-863)
2026-04-03 https://github.com/BerriAI/litellm GHSA-53mr-6c8q-9789
8.7
CVSS 4.0 · Vendor: https://github.com/BerriAI/litellm
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to platform as regular user
  2. Exploit
    Access /config/update endpoint
  3. Execution
    Register custom Python handler pointing to attacker code
  4. Impact
    Execute arbitrary remote code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated user access required. Attacker must be logged into the platform with any authenticated user role (non-admin). No special configuration or victim interaction needed. Affects default installations of the product versions before v1.83.0.

Impact

Real-world risk is HIGH for organizations running vulnerable LiteLLM instances with multiple user accounts. While CVSS data is unavailable, the impact severity is clear: authenticated users can achieve complete system compromise through RCE, credential theft, and data exfiltration. The vulnerability's exploitability depends on whether attackers have any valid authentication credential (API key or user account). The vendor advisory notes 'Restrict API key distribution' as the only pre-patch mitigation, suggesting authentication is required but trivial to obtain in multi-user deployments. No public exploit identified at time of analysis, reducing immediate opportunistic exploitation risk. However, the detailed technical disclosure in the GitHub advisory (GHSA-53mr-6c8q-9789) provides a roadmap for weaponization. SSVC technical impact is TOTAL (RCE + credential theft). Priority assessment: IMMEDIATE for production deployments with multiple users/API keys; MEDIUM for single-admin deployments. The lack of configuration-level workarounds means vulnerable versions remain fully exploitable until upgraded.

Exploit ScenarioDerived

An attacker with a valid low-privilege API key or user credential authenticates to a LiteLLM proxy instance. They send a POST request to /config/update with a malicious payload that registers a custom pass-through endpoint handler pointing to attacker-controlled Python code hosted on an external server or embedded inline. Upon the next request to that custom endpoint, the LiteLLM server executes the malicious Python code with the privileges of the application process, granting remote code execution. Alternatively, the attacker modifies UI_LOGO_PATH to point to sensitive files like /etc/passwd or application configuration files, then retrieves them via /get_image. For persistent access, they overwrite UI_USERNAME and UI_PASSWORD environment variables to create a backdoor admin account. The attack requires only valid authentication credentials without admin role, making it viable for insider threats or compromised low-privilege accounts in multi-user deployments.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 03, 2026

Remote code execution in BerriAI LiteLLM (pkg:pip/litellm) prior to v1.83.0 allows authenticated users without admin privileges to execute arbitrary Python code, modify proxy configuration, read server files, and hijack privileged accounts via an improperly protected /config/update endpoint. Authentication requirements not confirmed from available data. No public exploit identified at time of analysis, but the attack surface is well-documented in the vendor advisory. CVSS score unavailable; however, the combination of RCE capability and authentication bypass warrants immediate remediation for all LiteLLM deployments.

RemediationAI

Vendor-released patch: Upgrade to LiteLLM version 1.83.0 or later via pip (pip install --upgrade litellm>=1.83.0). The fixed version implements proper proxy_admin role enforcement on the /config/update endpoint. No configuration-based workaround exists for versions prior to 1.83.0. As an interim risk reduction measure pending upgrade, the vendor recommends restricting API key distribution to minimize the number of authenticated users who could exploit the vulnerability, though this does not eliminate the attack surface. Organizations should audit API key assignments and revoke unnecessary credentials immediately. Full advisory and patch details available at https://github.com/BerriAI/litellm/security/advisories/GHSA-53mr-6c8q-9789. After upgrading, validate that only users with explicit proxy_admin role can access /config/update by testing with non-admin credentials.

Affected Packages

pypi litellm fix: 1.83.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LiteLLM is a Python-based proxy/gateway for LLM API management (distributed via PyPI as pkg:pip/litellm). The vulnerability stems from CWE-863 (Incorrect Authorization), where the /config/update API endpoint fails to enforce role-based access control. While the platform implements a proxy_admin role for administrative operations, this endpoint was accessible to any authenticated user regardless of role. The endpoint's design allows modification of critical runtime configuration including environment variables, custom endpoint handlers (which can execute arbitrary Python callables), and UI settings. This architectural flaw transforms a configuration management feature into a privilege escalation vector, as authenticated low-privilege users can invoke admin-level operations without authorization checks. The vulnerability affects core platform security boundaries by allowing lateral movement from any valid credential to full system compromise.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/BerriAI/litellm) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N
Red Hat 8.8 HIGH

Primary rating from Vendor (https://github.com/BerriAI/litellm).

CVSS VectorVendor: https://github.com/BerriAI/litellm

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 04, 2026 - 02:30 nvd
Patch available
CVE Published
Apr 03, 2026 - 21:59 nvd
HIGH 8.7

DescriptionCVE.org

Impact

The /config/update endpoint does not enforce admin role authorization. A user who is already authenticated into the platform can then use this endpoint to do the following:

  • Modify proxy configuration and environment variables
  • Register custom pass-through endpoint handlers pointing to attacker-controlled Python code, achieving remote code execution
  • Read arbitrary server files by setting UI_LOGO_PATH and fetching via /get_image
  • Take over other priveleged accounts by overwriting UI_USERNAME and UI_PASSWORD environment variables

Patches

Fixed in v1.83.0. The endpoint now requires proxy_admin role.

Workarounds

Restrict API key distribution. There is no configuration-level workaround.

Executive ViewAI

Why It Matters

BerriAI LiteLLM versions prior to v1.83.0 contain a remote code execution vulnerability in the /config/update endpoint that allows attackers to execute arbitrary code, modify system configurations, and access sensitive files on affected servers. Organizations running LiteLLM in production face immediate risk of system compromise and data exfiltration, requiring urgent mitigation across all deployments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /config/update endpoint via firewall or WAF rules to authenticated internal networks only; (2) Implement API gateway authentication enforcement and rate limiting; (3) Monitor and log all requests to /config/update for forensic analysis; (4) Disable the endpoint entirely if not actively required for operations; (5) Run LiteLLM in isolated network segments with minimal privilege escalation paths.

Threat Intelligence Overview

EPSS Score
0.3%
Top 44% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment GHSA POC (1) Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

pkg:pip/litellm

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy