Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

There is no single LiteLLM version that remains “safe” indefinitely. Use the newest patch in one of LiteLLM’s four supported stable minor lines, pin the exact package or container digest, verify its provenance, and run authenticated gateway tests after migration. As of October 11, 2026, LiteLLM’s release index listed v1.105.0. The older 1.82.7 and 1.82.8 packages were involved in a March 2026 supply-chain incident, while later advisories fixed separate vulnerabilities at different version floors.

This runbook covers inventory, target selection, package and image upgrades, signature checks, secret handling, configuration hardening, rollback, and post-upgrade verification.

Which LiteLLM versions should you use?

Choose the latest patch release in a currently supported minor line. LiteLLM’s support policy covers the four latest stable minor lines; older lines are end of life. Check the official release index immediately before changing production, because the supported set and latest patch can move.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

At the time covered here, the release index listed v1.105.0 on October 11, 2026. Treat that as a dated snapshot, not a permanent safety guarantee. A deployment on an older supported line may still be serviceable if it has that line’s latest security patch, but a current line generally gives you broader fixes and longer support.

Security floors from the 2026 advisories

Issue or event Affected or relevant versions Fix or recommendation How to interpret the floor
March 2026 supply-chain incident PyPI versions 1.82.7 and 1.82.8 LiteLLM published v1.83.0 as a clean release and added checksum and cosign guidance. If either affected version exists anywhere in your estate, preserve evidence and investigate before simply overwriting it.
CVE-2026-35029 Advisory-specific affected range Fixed in v1.83.0. v1.83.0 is the minimum stated fix for this CVE, not the recommended long-term target.
CVE-2026-35030 Advisory-specific affected range Fixed in v1.83.0. Move to a supported minor line rather than stopping at the first fixed release.
CVE-2026-42208 Advisory-specific affected range Fixed in v1.83.7; LiteLLM recommends v1.83.10-stable. Use at least the recommended stable patch when you must remain on the 1.83 line, then plan a supported-line upgrade.
Recent security bundle Not a version floor for every deployment LiteLLM’s May 2026 town-hall report said all security fixes from the preceding four weeks were bundled in v1.84.1. This statement describes that release’s bundle; it does not replace checking current advisories and support status.

The practical answer to “which version is safe?” is therefore: select the newest patch in a supported minor line, verify the artifact, and confirm that the specific CVEs relevant to your exposure are covered. Do not stop at v1.83.0 merely because it fixed two April advisories, and do not treat v1.83.7 as the final answer for CVE-2026-42208 when the project recommends v1.83.10-stable.

Why the 1.82.7 and 1.82.8 incident changes the patch process

The March 2026 incident was a supply-chain event involving PyPI releases 1.82.7 and 1.82.8. The risk is not limited to a running proxy: an affected wheel may remain in a developer workstation, a private package cache, a CI image, a Helm chart, a vendor appliance, or a rollback bundle.

LiteLLM’s incident guidance calls for host investigation and preservation of relevant artifacts for forensics. If you find either affected version, save logs, package metadata, image digests, deployment manifests, shell history where appropriate, and access records before cleanup. Record when the artifact was installed, where it ran, whether its endpoint was reachable from an untrusted network, and which credentials it could access.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

No reliable official figure quantifies the total number of affected LiteLLM deployments. Do not infer exposure from an internet-wide estimate; determine it from your own inventory and logs.

Step 1: Inventory every LiteLLM copy before upgrading

A patch is incomplete if an old copy can still be promoted or executed. Build an inventory that includes production, staging, development, disaster-recovery, CI, and third-party integrations.

Search direct installations

  • List Python environments on hosts and runners, including virtual environments, system interpreters, and build images.
  • Inspect lockfiles, requirements files, constraints files, generated dependency reports, and private package mirrors for LiteLLM entries.
  • Check running processes and service definitions so an installed package is not missed because it is launched by a supervisor, container entrypoint, or scheduled job.

Search indirect and embedded copies

  • Inspect Dockerfiles, image layers, registries, Helm values, Kubernetes manifests, and Terraform modules.
  • Check internal AI platforms, gateway bundles, notebook images, evaluation runners, and vendor tools that may embed LiteLLM.
  • Search CI caches and rollback artifacts. A clean production rollout can be undone by an automated job that still references 1.82.7 or 1.82.8.

Freeze evidence and record exposure

For each installation, record the exact package version, image tag, immutable digest, chart version, deployment location, owner, network exposure, database, Redis endpoint, provider credentials in scope, and rollback artifact. Preserve evidence for any 1.82.7 or 1.82.8 host before removing the package. The record becomes your basis for selecting targets, proving coverage, and restoring the last known-good artifact.

Step 2: Select and pin a supported target

  1. Check the release index immediately before the change. At the dated checkpoint used for this guide, it listed v1.105.0 on October 11, 2026.
  2. Choose one supported minor line. LiteLLM supports four latest stable minor lines and treats older lines as end of life.
  3. Select that line’s latest patch. Confirm the patch includes the CVEs that matter to your deployment, including the advisory-specific floors above.
  4. Write the exact target into configuration. A mutable latest tag or an unbounded dependency range makes rollback and audit difficult.
  5. Keep the previous verified artifact. Retain its package hash or image digest until functional checks and a monitoring window complete.

For a pip deployment, install the exact version selected from the release index rather than a floating range:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
python -m pip install --upgrade --requirement requirements.txt
python -m pip install --upgrade litellm==<target-version>

Use your organization’s lockfile or constraints workflow so the resolved dependency set is reproducible. The placeholder <target-version> must be replaced with the exact release you approved; do not copy a moving alias into production automation.

Step 3: Upgrade packages, containers, and charts consistently

Python and virtual-environment deployments

Upgrade the environment that actually launches the proxy, not only a developer shell. Rebuild from a clean base where possible, regenerate the lock or constraints output, and compare the resulting dependency report with the approved change. Remove stale wheels from private caches if your incident investigation identifies 1.82.7 or 1.82.8.

Docker deployments

LiteLLM’s production guidance identifies ghcr.io/berriai/litellm for monolithic deployments and says to pin a version tag rather than latest or another moving tag so rollbacks are deterministic. For stronger reproducibility, pin the immutable digest as well as the human-readable version tag in your deployment record.

Update every place that can launch the image: Compose files, Kubernetes manifests, autoscaling templates, test jobs, and disaster-recovery definitions. A single unpinned sidecar can reintroduce the vulnerable artifact.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Helm and Kubernetes migrations

Apply the chart and image changes through the documented migration job. Do not let multiple proxy instances race schema updates. Where the deployment guide calls for it, set DISABLE_SCHEMA_UPDATE=true on proxy instances and run the migration as the dedicated job. Confirm the migration job completes before routing production traffic to new proxies.

Step 4: Verify image and package provenance

Use the official image registry and the exact artifact you approved. LiteLLM’s supply-chain guidance explicitly says to verify Docker image signatures. Run the project’s documented cosign verification command with the pinned public-key commit, and require both a valid signature and the expected claims before promotion.

Do not substitute a locally copied key, an unpinned branch, or a successful image pull for signature verification. Store the verification output with the release record, including the image reference, digest, key commit, timestamp, and operator or pipeline identity.

For Python artifacts, compare the downloaded package’s checksum with the project’s published checksum guidance and retain the result. If a checksum or signature does not match, stop the rollout, quarantine the artifact, and obtain it again from the official source.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step 5: Protect and rotate secrets correctly

Master key

Treat LITELLM_MASTER_KEY as root access. Store it in a secret manager, inject it at runtime, and avoid putting it in images, source control, shell history, tickets, or shared manifests. Rotate it if the key may have been exposed, especially when an affected gateway was reachable by an untrusted network. After rotation, update every client, automation job, health check, and administrative integration that legitimately uses it.

Salt key

Keep LITELLM_SALT_KEY in the same protected secret-management system, but do not casually change it after provider credentials are stored. Changing the salt key makes encrypted provider credentials unreadable. A salt-key change therefore requires a deliberate credential re-encryption or replacement plan, not an ordinary restart.

Application keys

Use scoped virtual keys for applications and workloads instead of sharing the master key. Give each key only the model, budget, team, and administrative scope it needs. Revoke keys that belonged to retired services and review key creation and use after an exposure.

Step 6: Apply configuration hardening before traffic returns

  • Ingress: Use HTTPS between clients and the gateway. Terminate TLS at a controlled ingress and protect the internal hop according to your threat model.
  • Trusted proxies: Set trusted proxy ranges narrowly. Do not trust arbitrary client-supplied forwarding headers.
  • Admin UI: Restrict UI access to administrators through network policy, identity controls, and least-privilege roles.
  • stdio MCP servers: Keep them disabled unless you explicitly need them and have reviewed their execution context.
  • Database failure behavior: Ensure authentication fails closed during database outages.
  • Master-key startup checks: Versions including v1.104.0 refuse to boot with a missing, empty, or publicly known unsafe master key. Do not weaken that behavior to make a deployment start.

These controls reduce the impact of a future vulnerability; they do not replace timely patching.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step 7: Verify the patched gateway with authenticated tests

A readiness response alone does not prove that stored data is readable or that a provider request succeeds. Run the following checks against the new deployment, using a controlled test model and the least-privileged credentials that can exercise each path.

curl -sS https://llm.example.com/health/readiness

curl -sS https://llm.example.com/v1/models 
  -H "Authorization: Bearer $LITELLM_MASTER_KEY"

curl -sS https://llm.example.com/v1/chat/completions 
  -H "Authorization: Bearer $LITELLM_MASTER_KEY" 
  -H 'Content-Type: application/json' 
  -d '{"model":"<known-model>","messages":[{"role":"user","content":"security verification ping"}]}'

curl -sS https://llm.example.com/key/info 
  -H "Authorization: Bearer $LITELLM_MASTER_KEY"

curl -sSI https://llm.example.com/ui/

Interpret each result

  • Readiness: Confirm the response reports the expected Redis cache and other healthy dependencies. A green response is necessary but not sufficient.
  • /v1/models: Compare the model list with the prior deployment. Unexpected additions or removals may indicate configuration, database, or permission problems.
  • Chat completion: Require a successful authenticated response from a known provider path. This exercises routing, stored configuration, provider credentials, and response handling.
  • /key/info: Confirm the key endpoint responds with the expected authorization context without exposing secrets.
  • UI request: Verify that the UI is reachable only through the intended administrative route and network controls.

Also test an existing virtual key. The migration guidance specifically calls for confirming that a previously issued virtual key still works. This catches authentication-scope, database, and migration errors that a master-key test can miss.

How to compare upgrade candidates

When more than one supported target is available, compare them against the same operational criteria rather than choosing only by version number.

Decision axis Questions to answer
Supported minor-line status Is the line one of the four latest stable minor lines, or is it already end of life?
Fixed-CVE coverage Does the target include the specific advisory fixes required for your exposure, including CVE-2026-35029, CVE-2026-35030, and CVE-2026-42208 where applicable?
Artifact provenance Can you verify the package checksum or container signature using the project’s published guidance?
Rollback determinism Is the previous artifact recorded by exact package version and image digest rather than a moving tag?
Migration behavior Is there a documented migration job, and are proxy instances prevented from racing schema updates?
Authentication defaults Does the release enforce safe master-key startup and fail-closed authentication behavior during database outages?
Secret-rotation impact Can you rotate the master key without changing the salt key that protects stored provider credentials?
Post-upgrade coverage Will you test readiness, models, a real completion, key information, UI access, and an existing virtual key?
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Rollback and failure handling

If signature or checksum verification fails

Do not deploy the artifact. Preserve the failed image or package metadata, record the source and digest, and obtain a fresh artifact from the official registry or package source. Escalate rather than bypassing verification.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the migration fails

Keep traffic on the prior verified release if it remains compatible, stop additional proxy instances from attempting schema updates, and inspect the migration job logs and database state. Do not repeatedly rerun migrations from multiple pods.

If readiness passes but model calls fail

Check provider credentials, model routing, database reads, Redis connectivity, network egress, and the virtual key used for the test. Readiness can report healthy infrastructure while a provider path or stored credential is unusable.

If authentication fails after key rotation

Confirm that clients received the new master key or replacement virtual keys, that no stale secret was mounted, and that the salt key was not changed accidentally. Avoid rolling back by restoring an exposed master key.

If rollback is required

Restore the exact previously verified package or image digest, not a floating tag. Follow the project’s compatibility guidance for database schema changes, retain the failed release evidence, and repeat the full authenticated verification after rollback.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Follow-up for a possible CVE-2026-42208 exposure

If a gateway ran in the affected range and was reachable by an untrusted network, treat patching as only the first response. LiteLLM’s advisory provides a helper query for reviewing PostgreSQL query history. Run that query against an appropriately preserved copy or controlled production data, then review:

  • Unexpected administrative or configuration changes.
  • Provider-key reads, use, replacement, or unusual access times.
  • Outbound requests to destinations not expected for your deployment.
  • New users, virtual keys, model routes, budgets, or permissions.
  • Billing anomalies and provider usage that cannot be explained by scheduled workloads.

Rotate credentials according to your exposure assessment, starting with the master key when compromise is possible. Preserve logs and database records needed for incident response before retention policies erase them.

Operational evidence to retain

For every patch, keep a compact release packet containing:

  • The inventory entry showing every LiteLLM location checked.
  • The selected version, support-line status, package checksum, or image digest.
  • Cosign verification output and the pinned public-key commit used.
  • Migration-job logs and the value of DISABLE_SCHEMA_UPDATE where applicable.
  • Secret-rotation record without storing secret values.
  • Results and timestamps for readiness, model listing, completion, key-information, UI, and virtual-key tests.
  • Rollback artifact details and the person or automation authorized to invoke it.

LiteLLM reported 89 vulnerabilities patched, 78 reported by the Veria scanner, 58 GHSAs fixed, and 96 GHSAs closed in 2026. Those figures describe the project’s reported remediation activity; they are not a substitute for checking the exact release and exposure of your deployment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.