Advisories
Act nowExploited · Confirmed

litellm: LiteLLM has a sandbox escape in custom-code guardrail

There is evidence it is being used against people now, on something Phylax follows.

Awaiting review: nobody has checked this alert yet. The evidence is from the sources linked below.

Does it affect what I run?

litellm (PyPI)

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • litellm (PyPI): from 1.81.8, before 1.83.10
  • litellm (PyPI): from 1.81.8, before 1.83.10

The fix

  • litellm (PyPI) fixed in 1.83.10

    pip
    python -m pip install litellm==1.83.10
    uv
    uv add litellm==1.83.10
    poetry
    poetry add litellm@1.83.10
    Check what is installed
    python -m pip show litellm
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency litellm to 1.83.10 or the nearest later release, to fix CVE-2026-40217. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

Timeline

  1. First published here, as "For your digest".
  2. Level changed from "For your digest" to "This week".
  3. Evidence added: CISA's assessment in the CVE record says a proof of concept is public. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))
  4. Level changed from "This week" to "Act now".
  5. Evidence added: It is in CISA's Known Exploited Vulnerabilities catalogue. (CISA Known Exploited Vulnerabilities)
  6. Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))
  7. Evidence withdrawn: CISA's assessment in the CVE record says a proof of concept is public. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))
  8. Shown as awaiting review: nobody decided in time.