Keeping LiteLLM patched: security advisories and supported versions

A self-hosted LiteLLM gateway stays secure only if it stays on a supported minor line. This page explains how to fit LiteLLM's support window, pinning, Enterprise notice, image scanning and advisory reporting into your patch process.

On this page

How to keep LiteLLM patched without guessing which release is safe

A self-hosted LiteLLM gateway holds your provider keys, virtual keys and budgets, so it needs a standing patch routine rather than occasional upgrades. The short answer is to stay on a supported minor line, pin an exact version or image digest, and apply security fixes on a schedule your team controls. LiteLLM maintains support for the four most recent stable minor versions for both open source and Enterprise deployments, so a release that falls out of that window stops receiving fixes and should be scheduled for upgrade. Teams that run the gateway for more than a pilot, that serve several business units through shared keys, or that must show a change record to auditors need this process in place before go-live, not after the first advisory.

Start by recording which minor line and exact version each gateway runs, in every environment. Compare that against the latest entry on the LiteLLM releases page and the support statement in the Enterprise documentation. Then decide who receives advisories and how quickly a fix must reach production. Enterprise customers receive email notice 7 days before public disclosure of large or major security updates, which gives your change board a window to test. Open source users have no equivalent notice, so they should watch the repository's GitHub Security Advisories directly. Confirm with LiteLLM which notice channel applies to your contract before you rely on it, and confirm the exact ask for emergency patches in your support terms.

Make each upgrade reproducible. Pin the image by digest rather than by a floating tag, rebuild or re-scan it after every change, and run the candidate against a staging copy of your PostgreSQL database and configuration before promoting it. Keep the scan output with the change ticket, because it is the evidence a reviewer will ask for. Plan for the database migration step, since a version change can alter schema and a rollback may not restore the earlier state. Name an owner for each step, agree the maximum time allowed between a critical advisory and a production patch, and rehearse the rollback once so the team does not improvise it during an incident.

What the four supported minor lines mean for your upgrade cadence

LiteLLM supports the four most recent stable minor versions for both open source and Enterprise deployments, so every minor line has a limited support window. The cards below cover how to read the release history, what the reference release tells you, and which end-of-support dates to confirm before you set a patch schedule.

Four minors define the support window

LiteLLM maintains support for the four most recent stable minor versions. When a newer minor ships, the oldest supported line moves toward end of support. Your patch process should treat the minor version, not just the patch number, as the unit you plan against. Confirm with LiteLLM which minor lines are currently covered before you pin a version in production.

Supported minor lines
4
LiteLLM Enterprise docs

Reading the releases page

The GitHub releases page lists each published version with its date and release notes. Scan it for the minor line you run, the newest patch on that line, and any notes that mention security fixes. Record the date of your current pinned version so you can compare it with the newest minor. A gap between your pin and the latest minor is the signal to schedule an upgrade review.

LiteLLM releases page

v1.105.1 as a reference point

The releases page lists v1.105.1, published October 14, 2026. Use it as a dated marker in your records: when you review your running version, note how far behind that release it sits and how many minor lines separate the two. The reference point does not tell you when your own line ends support, so treat it as a baseline for the comparison, not as a support date.

Confirming end-of-support dates

The public documentation describes the four-line policy but this section does not give a calendar date for when a specific minor line stops receiving fixes. Ask LiteLLM in writing for the end-of-support date of each minor line you run, and whether the date differs for open source and Enterprise. Store the answer with your patch calendar so the date is tied to a source you can cite in an audit.

Planning the upgrade cadence

Set a review interval that keeps you inside the four-line window with room to test. Each upgrade needs a staging run against your configuration, your database migrations and your model routes. The effort depends on how many minor versions you skip and how much custom configuration you carry, so estimate from your own change history rather than assuming each minor is a quick swap.

Pinning options: exact version, image digest or floating tag

This table compares three ways to point a deployment at LiteLLM: an exact version tag, an image digest, and a floating tag or latest stable release. Read each row against your change process, since the option that gives the fastest access to fixes is often the one that is hardest to review and reproduce. The main takeaway is that most regulated teams pair an exact version or digest with a scheduled review of each new release.

FactorExact version tagImage digestFloating tag or latest stable
ReproducibilitySame release on every deploy, as long as the tag is not overwritten in your registrySame bytes on every deploy, even if a tag is later movedDifferent builds can run on different days with no change in your manifests
How security fixes arriveOnly when you move the tag to a newer release through your change processOnly when you update the digest to a new build, which you must look up and recordAutomatically on the next pull or restart, so fixes arrive without review
Operational cost of reviewReview each release notice and test the new version before rolloutSame review as a version tag, plus recording and verifying the digest for each releaseLow day to day, but changes can reach production without a test window
RollbackRevert the tag in your manifestRevert the digest in your manifestHard to reconstruct what ran at a given time
Evidence an assessor can followChange tickets linking tag, test results and approvalChange tickets linking digest, signature check results and approvalLimited, unless you also record the image ID at each start
Fits a regulated change processYes, when every version change is approved and testedYes, and strongest for audit trails when combined with image verificationGenerally no, unless changes are restricted to a non-production environment
Confirm before choosingWhether your registry allows tag overwrites and how you prevent themHow your deployment tool resolves digests in Kubernetes manifestsWhich stable minor line your team is required to stay on

Building a patch routine for a LiteLLM gateway

This sequence turns LiteLLM security notices into a repeatable change: you know exactly what runs, the version you deploy is pinned and scanned, and each upgrade is proven in staging before it reaches production. Each step ends with a check you can record as evidence.

  1. Inventory running versions and images

    The platform team records, for every LiteLLM deployment, the image reference, the tag or digest actually running, the Python SDK versions used by callers, and the environment it belongs to (production, staging, development). Pull the live value from the cluster or host rather than from the deployment template, since the two can drift. Done when every gateway appears in one inventory with a running version, and any deployment that cannot be matched to a known release is flagged for investigation.

  2. Pin an exact version or digest in code

    The team sets the image in configuration as code to an exact release or an image digest, not a floating tag such as latest. LiteLLM's security guidance recommends staying on the latest stable release and pinning an exact version, so the pin should be a deliberate choice that your change process records. Update the same pin in the Helm values, Terraform variables or Compose file that deploys the proxy. Done when a repository search finds one authoritative pin per environment and a deployment from a clean checkout reproduces the same image.

  3. Scan the candidate image with grype

    Before any new image is promoted, the security or platform engineer runs grype against the exact image reference that will be deployed and saves the report with the change record. LiteLLM runs grype scans on the Docker images it builds, but your own scan covers your registry copy, any base image layers you rebuild, and the packages in your environment. Review findings by severity and by whether a fixed version exists, and record accepted risks with an owner and a review date. Done when the scan output is attached to the change and no unaccepted high-severity finding remains open.

  4. Subscribe to notices and watch advisories

    The owner of the gateway confirms who receives LiteLLM security notices. Enterprise customers receive email notice of large or major security updates 7 days before public disclosure, so confirm that the notice address is a monitored group mailbox and not one person. Open-source deployments should watch the BerriAI/litellm releases page and its GitHub Security Advisories. Vulnerability reports go through GitHub Security Advisories, which is also where your team should check for disclosed issues. Done when a named group receives the notices, the release and advisory watch is active, and the contact list is written into the runbook.

  5. Confirm the release sits on a supported line

    The team checks that the target release belongs to one of the four most recent stable minor versions, which LiteLLM maintains for both open source and Enterprise deployments. If the running version has fallen out of that window, the upgrade becomes urgent and may need to skip intermediate releases, so plan the path in staging first. Compare the target against the latest entry on the releases page and record the minor line in the change ticket. Done when the ticket shows the current line, the target line, and that the target is within the maintained window.

  6. Stage the upgrade in a non-production environment

    The platform team deploys the pinned, scanned image to a staging gateway that mirrors production configuration: the same PostgreSQL and Redis versions where possible, the same virtual keys, budgets, routes and SSO settings, and a realistic set of test calls to each model provider. Replaying a sample of real caller traffic through staging shows whether request formats and model routes still behave. Run it for long enough to surface configuration problems, then record what differed from production. Done when staging serves the test suite without new errors and the differences from production are documented.

  7. Verify migrations and health before rollout

    Before production changes, the team takes a verified database backup, reviews the migration output that the new release applies to PostgreSQL, and confirms the rollback procedure, including whether the migration can be reversed. Then it checks the health endpoints, the admin UI login, key authentication, budget enforcement and log delivery on staging. Once production is updated, the same checks run again and the team watches error rates and spend. Done when the backup is confirmed restorable, the staging and post-deploy checks pass, and the results are filed with the change record.

How a security fix moves from disclosure to your production gateway

The flow starts with a vulnerability report that LiteLLM handles through GitHub Security Advisories, then moves to a fix release. For large or major updates, Enterprise customers get an email 7 days before public disclosure, which gives your team time to plan. Your team then scans the image you pull, tests it in staging, and records change approval before production. Check that each stage has a named owner and that rollback goes back to the prior pinned version.

Security fix path from report to production, with approval and rollback points marked.

Scanning images and reporting vulnerabilities through the right channel

Platform teams own the image that reaches production, so they run their own scan against the exact reference they deploy. LiteLLM states that it runs grype scans on the Docker images it builds. Your scan is still useful because it checks the digest in your registry, the base layers you pulled, and any custom image you built on top of the LiteLLM image.

  • Scan the deployed digest: Run grype against the image digest your cluster pulls, not a tag that may have moved since the last release.
  • Gate on the pinned version: Fail the pipeline when a new finding appears in a pinned image, and record the exception with an owner and a review date.
  • Scan custom layers separately: If you extend the image with plugins, CA bundles or hooks, scan the result too, because your additions sit outside LiteLLM's build.
  • Keep the scan in the registry workflow: Run it on push and on a schedule, so newly published advisories surface against images already running.
  • Store the output: Keep the grype results with the release record so auditors can see what was known at deployment time.

Confirm with your own tooling team which grype version and database update process your pipeline uses before you rely on the results.

Risks that come from running an unpatched or drifting gateway

A self-hosted LiteLLM gateway sits between applications and model providers, so a stale or unverified build affects every team that calls it. The risks below share one root: the running version, image and configuration drift away from what the security team approved. Each card names the control that keeps that risk in check.

Floating tags pulling unreviewed builds

A deployment that references a moving tag such as latest can change its image on the next pod restart without any review. Pinning an exact version or image digest makes each rollout a deliberate change that can be tested and recorded. Check that your manifests, Helm values and Terraform modules reference a fixed version, and that the digest in production matches the one your scan and signature checks evaluated.

Unsupported minor lines receiving no fixes

LiteLLM maintains support for only the four most recent stable minor versions, so a gateway left on an older minor line will fall outside the fix window. Track which minor line each environment runs and set a review date to move it forward. Confirm with LiteLLM which versions still receive fixes for your deployment type before you plan a long freeze.

Supported minor lines
4
Enterprise docs

Missed Enterprise security notices

LiteLLM notifies Enterprise customers by email 7 days before public disclosure of large or major security updates. That window only helps if the notice reaches someone who can schedule a change. Name a mailbox owner, route the notices into your ticketing system, and record who approves an out-of-cycle upgrade.

Migrations that block rollback

A new release can include database schema changes, and once applied, an older proxy may not run against the migrated schema. Take a tested PostgreSQL backup before each upgrade, and record whether the target release changes the schema so you know if rollback means a restore. Rehearse the restore in a non-production copy before the production change window.

Production guide

Master keys exposed during restarts

Restarts and rolling updates are when secrets are most often printed to logs, copied into shell history or passed as plain environment values. The master key must start with sk- and should live in a secret manager, not in a manifest or a pipeline variable. Check that restart runbooks, CI logs and container inspect output never show the key, and rotate it if any of those places did.

Scan gaps between build and deploy

LiteLLM runs grype scans on the Docker images it builds, but your cluster may pull images that were rebuilt, mirrored or retagged in your own registry. Scan the exact digest you deploy, apply your severity policy to the results, and block promotion when a finding has no accepted exception. Confirm how your registry mirror preserves digests before relying on its copies.

Security best practices

Questions teams ask before they set up LiteLLM patching

What does patching a self-hosted LiteLLM gateway cost, and what drives it?

The cost comes from the people doing the work, not from the software itself, since LiteLLM is MIT licensed outside the enterprise/ directory and its security notices are published on GitHub. Your own platform team pays in staff hours for each release review, image rebuild, scan, staging test and rollout. A partner is paid for the work written into the agreed scope. Costs rise with the number of environments, the number of database migrations in a release, the size of your provider and key configuration, and whether you need evidence for an audit. Ask any quote to itemize one-time setup (pipeline, pinning policy, first upgrade) separately from recurring review and testing, and to state which Enterprise features, if any, are assumed.

How long does a typical LiteLLM upgrade review take?

No fixed duration is published for this work, so treat any number you hear as unverified until the scope is written. The review length depends on how far behind your gateway is, how many minor versions separate your running release from the target, whether the release includes database schema changes, how many providers and custom callbacks you run, and how many environments must be tested before production. LiteLLM supports the four most recent stable minor versions for both open source and Enterprise deployments, so a gateway that falls outside that window has more to review. Ask the partner to state the review steps, the environments covered and the evidence returned at the end of each cycle.

What must our team provide before patching work starts?

You need to provide access and facts that the work cannot be done without. Typically this means the deployed image reference and current pinned version, the database and Redis topology, the configuration repository or Helm values, the secret manager in use, a staging environment that resembles production, and named owners who can approve a change window. You also need a record of which providers, virtual keys and teams depend on the gateway, so testers know which routes matter. Confirm with the partner which of these they expect from you and which they will create, and whether they need read-only or change access to each system.

Can our own team run LiteLLM patching routine without a partner?

Yes, a capable platform team can run the routine work itself if it has the skills and time. The core loop is to track the release page, read the notes for each candidate, pin an exact version or image digest, rebuild or pull the image, scan it with grype, test in staging, and roll out with a rollback path. Teams usually struggle with the review of database migrations, the handling of Enterprise notices that arrive before public disclosure, and keeping the pipeline current when the gateway configuration changes. Decide upfront which of these steps will stay in house and who holds the on-call duty when a release is urgent.

When is LiteLLM Enterprise security notice worth paying for?

Enterprise notice is worth evaluating when you need to act on a security update before it is public, or when your change process cannot absorb a fix on short notice. LiteLLM notifies Enterprise customers by email 7 days before public disclosure of large or major security updates, so that window is the main benefit to weigh. Other factors are whether you need the Enterprise support channel and the optional 24/7 SLAs, which list a 1 hour response for critical issues and 72 hours for security patches, and whether your planned features, such as SSO beyond the free user limit, already require an Enterprise license. Confirm the current terms directly with LiteLLM before deciding, because the license and support terms are their documents.

What does a DeployOpen patching retainer cover?

A retainer is an ongoing agreement for recurring work, and its scope is set in writing like any other engagement. It can cover monitoring of the release line, upgrade reviews against your environment, image rebuilds and grype scans, staging tests, change-window support, and written evidence of what changed. It does not cover guarantees that a given release is free of vulnerabilities, and it does not produce audit reports or certifications, which come from independent auditors. Ask for the list of included activities, the response expectations you can accept, how emergency patches are handled, and how the retainer price changes when your environment grows. Any price will come from the written quote, not from this page.

How do we know a LiteLLM image is safe to deploy after we pin it?

Pinning fixes the version you run, but it does not prove the image is clean. Scan the exact digest you deploy with grype, record the result, and compare it against the vulnerability reports and GitHub Security Advisories for the release. LiteLLM runs grype scans on the Docker images it builds, and vulnerability reports go through GitHub Security Advisories, so use those channels as your input and recheck when new advisories appear for a version you already run. Keep the scan results with the change record so reviewers can see what was known at deployment time. Pair this with signature verification where your policy requires it.

Official LiteLLM sources for the patch process

Three official LiteLLM pages should sit in your patching runbook as the next reads once this process is agreed. Start with the LiteLLM docs: Security best practices page, which covers the vendor's guidance on staying on the latest stable release and pinning an exact version, and which describes how Enterprise customers receive advance email notice of large or major security updates. Use it to set the rule your team follows for choosing which release to adopt and when to move to it.

The compliance and SOC 2 Type II page is the one to hand to your compliance or audit lead. It explains how LiteLLM describes its own compliance posture, including the grype scanning it runs on the Docker images it builds and its process for receiving vulnerability reports through GitHub Security Advisories. Read it to decide what evidence you can point to from the vendor side and what you still need to produce from your own environment, such as your scan results and change records. Confirm the current scope and report status directly with LiteLLM before relying on any statement in your audit file.

The LiteLLM releases page is the operational source. Check it on a fixed schedule to see which versions have shipped, read the release notes for security-relevant changes, and compare the newest release against the minor line you run. Pair it with the supported-version policy from the enterprise documentation so you know when your current line will stop receiving support. Record the date and version you reviewed each time, since that record is what your change process will rely on.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For LiteLLM, that means turning the vendor's release and advisory channels into a patch process your team can run, with the version pinning, image scanning and handover records that your security and change teams need to review.

How we scope

  • Written scope lists the LiteLLM deployments, environments and images that the patch process covers.
  • Scope records which minor line you run, the pinned version or digest policy and who approves upgrades.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We set up pinned version or digest references in your deployment configuration so upgrades are explicit changes.
  • We wire grype scanning of the images you deploy into your pipeline, with thresholds your security team agrees.
  • We document how advisories are triaged, tested in a staging environment and promoted to production.

How we hand over

  • You receive the patch runbook, version inventory template and scan configuration in your own repositories.
  • Your team walks through a test upgrade and a rollback, so the process is proven on your environment before handover.
  • Notes cover where to watch GitHub releases and advisories, and which vendor notices your Enterprise contract entitles you to.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
  • A retainer can cover monthly review of new minor releases against your supported line and pinned versions.
  • Ask your DeployOpen contact to confirm response times and channels in the written agreement before you rely on them.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.