CVE-2026-40217

Source
https://cve.org/CVERecord?id=CVE-2026-40217
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40217.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-40217
Aliases
Downstream
CGA (6)
CLEANSTART (10)
ECHO (1)
MINI (14)
Published
2026-04-10T13:43:23Z
Modified
2026-11-20T20:01:42Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.

Database specific
{
    "cna_assigner":  "mitre",
    "cwe_ids":  [
        "CWE-420"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40217.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "ZeroIntroducedSingleVersion"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/berriai/litellm

Affected ranges

Type
GIT
Repo
https://github.com/berriai/litellm
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.81.8"
                },
                {
                    "fixed":  "1.83.10"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40217.json"