LiteLLM's /health/test_connection endpoint resolves file references embedded in litellm_params without confining the caller to expected paths, letting a proxy administrator or another privileged caller with model-testing permissions read arbitrary files from the underlying host via a crafted oidc/file/ reference. This isn't a pre-auth flaw — it requires existing privileged access to the LiteLLM proxy — but it matters because AI gateways like LiteLLM sit in front of dozens of model providers and often hold OIDC tokens, cloud credentials, and service-account files on disk, all of which become exposed to a malicious or compromised admin account; EPSS sits at just 0.28% with no CISA KEV listing, public exploit, or Nuclei template, so mass opportunistic exploitation is not a near-term concern. The real risk is insider misuse or lateral movement after an attacker has already compromised an operator or CI credential holding proxy-admin rights. Patch to 1.83.10-stable immediately, and in the interim restrict who can invoke /health/test_connection and audit which accounts hold model-connection-testing permissions, since this is fundamentally a privilege-boundary bug inside an already-trusted role.
What is the risk?
Moderate but contained. Impact is high if exploited (arbitrary local file read can expose credentials, OIDC secrets, and configuration), but likelihood is reduced by the requirement for pre-existing privileged access (proxy admin or a caller scoped to test model connections). No CISA KEV listing, no public exploit code, no Nuclei template, and an EPSS score of 0.00278 all indicate this is not being actively or opportunistically exploited. The primary threat model is insider abuse or an attacker who has already compromised a privileged account, not an unauthenticated internet-facing attack.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| LiteLLM | pip | < 1.83.10 | 1.83.10 |
Do you use LiteLLM? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step-
Upgrade to litellm >=1.83.10-stable immediately — this is the definitive fix. Until patched: restrict who can call /health/test_connection to a minimal set of trusted admins, avoid granting model-connection-testing permission broadly or to CI/automation accounts, and review audit logs for test-connection requests containing oidc/file/ references or unexpected litellm_params values. As a precaution, rotate credentials and secrets that were readable by the host process running the vulnerable LiteLLM version, and ensure the proxy process runs with least-privilege filesystem access so it cannot read unrelated secrets directories even if this class of bug recurs.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-59819?
LiteLLM's /health/test_connection endpoint resolves file references embedded in litellm_params without confining the caller to expected paths, letting a proxy administrator or another privileged caller with model-testing permissions read arbitrary files from the underlying host via a crafted oidc/file/ reference. This isn't a pre-auth flaw — it requires existing privileged access to the LiteLLM proxy — but it matters because AI gateways like LiteLLM sit in front of dozens of model providers and often hold OIDC tokens, cloud credentials, and service-account files on disk, all of which become exposed to a malicious or compromised admin account; EPSS sits at just 0.28% with no CISA KEV listing, public exploit, or Nuclei template, so mass opportunistic exploitation is not a near-term concern. The real risk is insider misuse or lateral movement after an attacker has already compromised an operator or CI credential holding proxy-admin rights. Patch to 1.83.10-stable immediately, and in the interim restrict who can invoke /health/test_connection and audit which accounts hold model-connection-testing permissions, since this is fundamentally a privilege-boundary bug inside an already-trusted role.
Is CVE-2026-59819 actively exploited?
No confirmed active exploitation of CVE-2026-59819 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-59819?
Upgrade to litellm >=1.83.10-stable immediately — this is the definitive fix. Until patched: restrict who can call /health/test_connection to a minimal set of trusted admins, avoid granting model-connection-testing permission broadly or to CI/automation accounts, and review audit logs for test-connection requests containing oidc/file/ references or unexpected litellm_params values. As a precaution, rotate credentials and secrets that were readable by the host process running the vulnerable LiteLLM version, and ensure the proxy process runs with least-privilege filesystem access so it cannot read unrelated secrets directories even if this class of bug recurs.
What systems are affected by CVE-2026-59819?
This vulnerability affects the following AI/ML architecture patterns: AI gateway / LLM proxy, multi-provider LLM routing, model serving.
What is the CVSS score for CVE-2026-59819?
CVE-2026-59819 has a CVSS v3.1 base score of 4.9 (MEDIUM). The EPSS exploitation probability is 0.45%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0037 Data from Local System AML.T0055 Unsecured Credentials Compliance Controls Affected
What are the technical details?
Original Advisory
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.10-stable, LiteLLM's /health/test_connection endpoint resolved request-supplied environment and OIDC file references in litellm_params, allowing a proxy administrator or another privileged caller with permission to test model connections to read files from the local filesystem via an oidc/file/ reference. This issue is fixed in version 1.83.10-stable.
Exploitation Scenario
An insider, or an attacker who has phished or stolen credentials for a LiteLLM proxy admin account, uses their legitimate 'test connection' permission to call /health/test_connection with litellm_params pointing at a crafted file reference (e.g., oidc/file//app/.env or oidc/file//etc/passwd) instead of a genuine OIDC config path. LiteLLM resolves the reference and returns or otherwise processes the file's contents as part of the connection-test response, disclosing sensitive host data — other services' credentials, cloud secrets, SSH keys — without requiring any additional exploit chain. The attacker then uses those harvested secrets to pivot into cloud infrastructure or downstream LLM provider accounts, turning a narrowly scoped admin testing feature into a springboard for broader compromise.
Weaknesses (CWE)
CWE-73 External Control of File Name or Path
Primary
CWE-73 External Control of File Name or Path
Primary
CWE-73 External Control of File Name or Path 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.
- [Architecture and Design] When the set of filenames is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames, and reject all other inputs. For example, ID 1 could map to "inbox.txt" and ID 2 could map to "profile.txt". Features such as the ESAPI AccessReferenceMap provide this capability.
- [Architecture and Design, Operation] Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict all access to files within a particular directory. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N References
Timeline
Related Vulnerabilities
CVE-2026-42208 9.8 LiteLLM: SQL injection exposes LLM API credentials
Same package: litellm CVE-2026-30623 9.8 LiteLLM: RCE via unsanitized MCP server config
Same package: litellm CVE-2026-54352 9.6 Budibase: zip symlink bypass exposes all server secrets
Same package: litellm CVE-2026-35030 9.1 LiteLLM: auth bypass via JWT cache key collision
Same package: litellm CVE-2026-35029 8.8 LiteLLM: auth bypass allows RCE and full takeover
Same package: litellm