CVE-2026-59819: LiteLLM Local File Read Vulnerability

LOW
Advisory Identifier: GHSA-4g5m-c9r5-49xf
CWE-73
Published
Advisory Summary

CVE-2026-59819 is a LOW local file read vulnerability (CWE-73: External Control of File Name or Path) affecting LiteLLM libraries in the PyPI ecosystem. The issue involves local file read via request-supplied oidc file references. Remediation is available by upgrading affected packages to version 1.83.10.

CVE-2026-59819 at a Glance

CVE Identifier CVE-2026-59819
GHSA Identifier GHSA-4g5m-c9r5-49xf
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-73: External Control of File Name or Path
Affected Product LiteLLM
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2026-59819

To remediate this vulnerability, upgrade all affected LiteLLM dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

litellm fixed: 1.83.10
pip install litellm>=1.83.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show litellm

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-59819, inspect your installed packages using pip:

pip show litellm

Analyze the terminal output to locate any version of LiteLLM in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.83.10), your application is affected.

Note: The pip show litellm command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In LiteLLM, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact LiteLLM's `/health/test_connection` endpoint resolved request-supplied environment and OIDC file references in `litellm_params`. A proxy administrator, or another privileged caller with permission to test model connections, could cause LiteLLM to read files from the local filesystem via an `oidc/file/` reference. Because exploitation requires privileged proxy access, this is treated as a defense-in-depth issue rather than a cross-tenant privilege bypass. ### Patches The issue is fixed in `1.83.10-stable`. LiteLLM recommend upgrading to `1.83.10-stable` or later. ### Workarounds Restrict `/health/test_connection` access to trusted administrators only.

CVE-2026-59819 Affected LiteLLM Versions

1 component(s)
Fixed Versions:
1.83.10
Product / Package Ecosystem Affected Versions Fixed Version
litellm
PyPI
< 1.83.10
1.83.10

References

Frequently Asked Questions

What is CVE-2026-59819?
CVE-2026-59819 is a security vulnerability in LiteLLM involving Local file read via request-supplied OIDC file references under CWE-73: External Control of File Name or Path.
Which LiteLLM versions are affected?
Affected versions include releases prior to 1.83.10 across affected packages: litellm.
What version fixes CVE-2026-59819?
Upgrading to 1.83.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is litellm affected?
Yes, litellm is affected in releases prior to 1.83.10. Upgrade your dependency to 1.83.10 or later.
What CWE is associated with CVE-2026-59819?
CVE-2026-59819 is classified under CWE-73: External Control of File Name or Path (The product allows user input to control or influence paths or file names that are used in filesystem operations.).
How can I check PyPI dependencies for CVE-2026-59819?
Run the dependency tree command: 'pip show litellm'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4g5m-c9r5-49xf",
  "modified" : "2026-07-22T22:38:04Z",
  "published" : "2026-07-22T22:38:04Z",
  "aliases" : [ "CVE-2026-59819" ],
  "summary" : "LiteLLM: Local file read via request-supplied OIDC file references",
  "details" : "### Impact\n\nLiteLLM's `/health/test_connection` endpoint resolved request-supplied environment and OIDC file references in `litellm_params`. A proxy administrator, or another privileged caller with permission to test model connections, could cause LiteLLM to read files from the local filesystem via an `oidc/file/` reference.\n\nBecause exploitation requires privileged proxy access, this is treated as a defense-in-depth issue rather than a cross-tenant privilege bypass.\n\n### Patches\n\nThe issue is fixed in `1.83.10-stable`.\n\nLiteLLM recommend upgrading to `1.83.10-stable` or later.\n\n### Workarounds\n\nRestrict `/health/test_connection` access to trusted administrators only.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "litellm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.83.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/BerriAI/litellm/security/advisories/GHSA-4g5m-c9r5-49xf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-59819"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BerriAI/litellm/pull/25592"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/BerriAI/litellm"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/BerriAI/litellm/releases/tag/v1.83.10-stable"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-73" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-22T22:38:04Z",
    "nvd_published_at" : "2026-07-08T20:16:57Z"
  }
}