Lucene search
K

📄 LiteLLM 1.83.0 Insecure Direct Object Reference

🗓️ 30 Apr 2026 00:00:00Reported by Timo MüllerType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 74 Views

LiteLLM up to 1.83.0 has broken access control at /config/update enabling low-privileged users to read data.

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for Incorrect Authorization in Litellm
19 May 202608:08
githubexploit
Chainguard
CVE-2026-35029 vulnerabilities
8 Apr 202619:17
cgr
Circl
CVE-2026-35029
6 Apr 202618:32
circl
CNNVD
LiteLLM 安全漏洞
6 Apr 202600:00
cnnvd
CVE
CVE-2026-35029
6 Apr 202616:35
cve
Cvelist
CVE-2026-35029 LiteLLM affected by privilege escalation via unrestricted proxy configuration endpoint
6 Apr 202616:35
cvelist
Github Security Blog
LiteLLM: Privilege escalation via unrestricted proxy configuration endpoint
3 Apr 202621:59
github
Nuclei
LiteLLM - Arbitrary File Read
17 Jun 202605:14
nuclei
NVD
CVE-2026-35029
6 Apr 202617:17
nvd
OSV
CGA-HXF2-MQR8-F3QR
8 Apr 202615:30
osv
Rows per page
SEC Consult Vulnerability Lab Security Advisory < 20260421-0 >
    =======================================================================
                  title: Broken Access Control in Config Endpoint
                product: LiteLLM
     vulnerable version: <=v1.83.0
          fixed version: v1.83.0-nightly
             CVE number: CVE-2026-35029
                 impact: high
               homepage:https://www.litellm.ai/
                  found: 2026-02-24
                     by: Timo Müller (Office Munich)
                         SEC Consult Vulnerability Lab
    
                         An integrated part of SEC Consult, an Atos business
                         Europe | Asia
    
                         https://www.sec-consult.com
    
    =======================================================================
    
    Vendor description:
    -------------------
    "AI Gateway to provide model access, fallbacks and spend tracking across 100+
    LLMs. All in the OpenAI format."
    
    Source:https://www.litellm.ai/
    
    
    Business recommendation:
    ------------------------
    The vendor provides a patch which should be installed immediately.
    
    SEC Consult highly recommends to perform a thorough security review of the product
    conducted by security professionals to identify and resolve potential further
    security issues.
    
    
    Vulnerability overview/description:
    -----------------------------------
    1) Broken Access Control in Config Endpoint (CVE-2026-35029)
    LiteLLM exposes a /config/update API endpoint that allows administrators to
    make configuration changes to the instance. Due to a missing authorization
    check, low-privileged users can access this endpoint without restriction.
    An attacker with a low-privileged account can exploit this to exfiltrate
    environment variables and read arbitrary files within the context of the
    LiteLLM application.
    
    
    Proof of concept:
    -----------------
    1) Broken Access Control in Config Endpoint (CVE-2026-35029)
    The vulnerability exists because the update_config function, which handles the
    /config/update route, does not check whether the requesting user has
    administrative permissions.
    
    The vulnerable function can be seen here:https://github.com/BerriAI/litellm/blob/47c24ef8ae1b6c77827491437b3e3ed143c1e77f/litellm/proxy/proxy_server.py#L11337-L11481
    
    The following screenshot illustrates a request sent by a regular user without
    administrative privileges. The exploit leverages "Pass Through Endpoints",
    which allow administrators to route requests from the LiteLLM proxy to
    any external API.
    
    Pass Through Endpoints:https://docs.litellm.ai/docs/proxy/pass_through
    
    The request contains the following parameters:
    
    * path - defines the path under which the pass through endpoint is created
    * target - the attacker-controlled server to which requests are routed
    	   (i.e. the exfiltration server receiving sensitive data)
    * headers - a list of headers containing the exfiltrated data, populated by
                LiteLLM before routing the request to the attacker-controlled server
    
    The "X-DB-URL" header retrieves the DATABASE_URL environment variable from the
    LiteLLM environment. The LANGFUSE* headers are used to exfiltrate files from
    the LiteLLM host system. Specifically, these headers are chosen because LiteLLM
    base64-encodes any values passed to them.
    
    LANGFUSE* header encoding:https://github.com/BerriAI/litellm/blob/47c24ef8ae1b6c77827491437b3e3ed143c1e77f/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py#L100-L115
    
    <10_exploit.png>
    
    Once the configuration is set, the pass through route update can take several
    minutes. After this wait time, the attacker triggers exfiltration by calling the
    endpoint. The exfiltration request is shown in the following screenshot.
    Please note that the LiteLLM response contains the response data from the
    exfiltration server.
    
    <20_exfil.png>
    
    The following screenshot illustrates the successful exploitation of this issue,
    showing the request received by the attacker-controlled server from the
    LiteLLM instance. The DATABASE_URL environment variable is visible highlighted
    within the server header, and the contents of /etc/passwd are included in
    base64-encoded form within the Authorization header.
    
    <30_content.png>
    
    Decoding the base64-encoded Authorization header reveals the contents of
    the /etc/passwd file from the LiteLLM host system:
    
    <40_decoded.png>
    
    
    Vulnerable / tested versions:
    -----------------------------
    The following version has been tested which was the latest version available
    at the time of the test:
    * 1.81.12
    
    
    Vendor contact timeline:
    ------------------------
    2026-02-26: Contacting vendor [email protected].
    2026-03-10: Inquiry sent to verify whether the vendor has
                received and analysed the advisory.
    2026-03-10: BerriAI confirms receipt of the advisory and
                loops in engineers for vulnerability analysis.
    2026-04-01: A security patch for the reported vulnerability
                is released on the nightly build.
    2026-04-01: Vendor contacted for additional details
                to coordinate advisory disclosure.
    2026-04-03: A CVE is assigned to the vulnerability and it is disclosed
                without further coordination through the GitHub
                security page of LiteLLM.
    2026-04-07: A draft version of the advisory is sent to the vendor
                in preparation of the advisory release.
    2026-04-14: The vendor is informed that the advisory will be released
                the upcoming week.
    2026-04-14: The vendor validates the submitted draft advisory
                and confirms the planned release.
    2026-04-21: Coordinated release of advisory.
    
    
    Solution:
    ---------
    The vendor provides a patched version v1.83.0-nightly which can be
    downloaded from their website:
    https://github.com/BerriAI/litellm/releases
    
    Fix commit:https://github.com/BerriAI/litellm/commit/57c05459ae9b4e607bfb35228ec13a3ee8586ce4
    
    
    Workaround:
    -----------
    None
    
    
    Advisory URL:
    -------------
    https://sec-consult.com/vulnerability-lab/
    
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    SEC Consult Vulnerability Lab
    An integrated part of SEC Consult, an Atos business
    Europe | Asia
    
    About SEC Consult Vulnerability Lab
    The SEC Consult Vulnerability Lab is an integrated part of SEC Consult, an
    Atos business. It ensures the continued knowledge gain of SEC Consult in the
    field of network and application security to stay ahead of the attacker. The
    SEC Consult Vulnerability Lab supports high-quality penetration testing and
    the evaluation of new offensive and defensive technologies for our customers.
    Hence our customers obtain the most current information about vulnerabilities
    and valid recommendation about the risk profile of new technologies.
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Interested to work with the experts of SEC Consult?
    Send us your applicationhttps://sec-consult.com/career/
    
    Interested in improving your cyber security with the experts of SEC Consult?
    Contact our local officeshttps://sec-consult.com/contact/
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Mail: security-research at sec-consult dot com
    Web:https://www.sec-consult.com
    Blog:http://blog.sec-consult.com
    X:https://x.com/sec_consult
    
    EOF Timo Müller / @2026

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

30 Apr 2026 00:00Current
5.5Medium risk
Vulners AI Score5.5
CVSS 3.18.8
CVSS 48.7
EPSS0.27194
SSVC
74