GHSA-3926-2jvf-fg29: Duplicate Advisory LiteLLM Has A Sandbox Escape Vulnerability
HIGHGHSA-3926-2jvf-fg29 is a HIGH (CVSS 8.8) litellm has a sandbox escape vulnerability (CWE-420: Unprotected Alternate Channel) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves litellm has a sandbox escape in custom-code guardrail. Remediation is available by upgrading affected packages to version 1.83.10.
GHSA-3926-2jvf-fg29 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-3926-2jvf-fg29
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install litellm>=1.83.10
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 GHSA-3926-2jvf-fg29, inspect your installed packages using pip:
pip show litellm
Analyze the terminal output to locate any version of Duplicate Advisory 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-420: Unprotected Alternate Channel, where the product protects a primary channel, but it does not use the same level of protection for an alternate channel. In Duplicate Advisory, 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
GHSA-3926-2jvf-fg29 Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
litellm
|
PyPI |
≥ 1.81.8
< 1.83.10
|
1.83.10
|
References
Frequently Asked Questions
What is GHSA-3926-2jvf-fg29?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-3926-2jvf-fg29?
Is litellm affected?
What is the CVSS score of GHSA-3926-2jvf-fg29?
What CWE is associated with GHSA-3926-2jvf-fg29?
How can I check PyPI dependencies for GHSA-3926-2jvf-fg29?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3926-2jvf-fg29",
"modified" : "2026-05-11T16:17:14Z",
"published" : "2026-04-10T15:31:57Z",
"withdrawn" : "2026-05-11T16:17:14Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: LiteLLM has a sandbox escape in custom-code guardrail",
"details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-wxxx-gvqv-xp7p. This link is maintained to preserve external references.\n\n### Original Description\nLiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "litellm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.81.8"
}, {
"fixed" : "1.83.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40217"
}, {
"type" : "WEB",
"url" : "https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-420" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-11T16:17:14Z",
"nvd_published_at" : "2026-04-10T14:16:36Z"
}
}