Security mailing lists by PureSourceCode

CVE-2026-59821

LOW 2.1CVSS 4.0

LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.82.0-stable, LiteLLM's Custom Code Guardrails production create and update paths did not apply the same sandboxing and validation used by the test endpoint, allowing a privileged user with access to create or update guardrails to submit custom Python code that executed in the LiteLLM proxy environment and could expose secrets available to the process. This issue is fixed in version 1.82.0-stable.

Published
8 Jul 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-94
Also known as
GHSA-72m8-9m7m-h278PYSEC-2026-3478
Sources
NVDJSONOSV GHSA-72m8-9m7m-h278JSONOSV PYSEC-2026-3478JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 LOW 2.1 CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD litellm litellm
cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*
< 1.82.0 1.82.0
NVD litellm litellm
cpe:2.3:a:litellm:litellm:1.82.0:nightly:*:*:*:*:*:*
= 1.82.0
OSV PyPI litellm < 1.82.0 1.82.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.