On October 21, 2026, LiteLLM published an incident notice identifying affected artifacts and a time window, and advised treating affected environments as compromised (official incident notice). If your host installed or ran an affected LiteLLM 1.107.0 package or pulled an affected Docker tag during that window, isolate it, rebuild from trusted sources, and rotate every credential that the host could access. Removing a package or pulling a different tag is not enough to establish recovery.
This guide is for:
- People maintaining a self-hosted LiteLLM gateway who need to check package, tag, or image-digest history.
- Development teams deciding which model API keys, database credentials, and environment variables to replace.
- Technical leads planning isolation, a clean rebuild, and production acceptance checks.
Last updated November 8, 2026. The incident scope and recovery guidance were checked against LiteLLM’s incident notice, its follow-up attack-chain investigation, and Microsoft’s technical analysis. Recheck those sources before acting if the published artifact list or guidance has changed.
Safe recovery after LiteLLM 1.107.0 was affected
Treat the installation as affected if its recorded package, image tag, or image digest falls within the official incident scope and its installation or runtime falls within the official UTC window. The official notice is the authority for the exact package builds, Docker tags, digests, and times. Do not infer that list from a source-code tag or from the current state of a mutable image tag.
| Deployment evidence | What to check | What a match means | What to do next |
|---|---|---|---|
| Python package installation | Lock files, package installation logs, deployment records, and host records against the exact affected package entry in the incident notice | The host may have run an affected package during the published window | Isolate the host, preserve relevant records, rebuild cleanly, and rotate accessible credentials |
| Docker deployment | Recorded image tag and digest, image-pull records, deployment history, and container start time against the notice | A tag or digest match in the relevant window puts the deployment in scope | Do not rely on the tag’s current destination; rebuild from a verified artifact |
| Source repository only | Repository tag or commit without corresponding package or image records | This does not establish which built artifact the host used | Check the actual package and container provenance; do not treat source inspection as proof of safety |
The incident notice and the later investigation are not interchangeable. The initial notice gives the published affected-artifact scope; the October 23 follow-up investigation is the better source for the attack-chain findings because it clarifies that parts of the early account were later corrected or expanded. If the exact tag or digest is unclear, preserve the record and compare it with the current official notice rather than guessing.
Which Docker tags were affected? Use the affected-tag list in LiteLLM’s official notice, and compare it with the tag and digest actually recorded by your deployment. The notice, not a discussion post or the current registry label, determines scope. A tag can later be removed or redirected; that does not rewrite the image digest or erase an earlier pull from deployment records.
Establishing exposure from records, not assumptions
Current version output answers what is installed now. It does not necessarily tell you what ran before an update, which image a host pulled, or whether a container was later recreated. For a reliable assessment, combine artifact identity with installation or runtime time.
For a Python deployment, collect the lock file and its history, deployment manifests, package-manager logs, and host records. Compare the recorded package version and any available artifact details with the official list. Do not start Python, run pip, or activate the suspect environment just to inspect it. If malicious startup behavior is possible, executing the environment may create additional risk. Microsoft’s analysis describes credential theft through Python startup hooks; use its explanation alongside the official attack-chain findings, not as a reason to execute suspect code.
For a container deployment, collect the original deployment manifest, image-pull history, image digest, and container start records. Commands that query the container engine’s stored metadata can help, but do not start a stopped suspect container to obtain that information. For example, an operator can inspect existing container and image metadata through the host’s container-management tools, then compare the recorded digest and tag with the official notice. Preserve the output outside the affected host.
How can you tell whether self-hosted LiteLLM ran an affected build? Match three things: the package or image identity, the time it was installed or started, and the official incident window. A matching record is enough to trigger containment and recovery. A missing record is not proof that the host was safe; it means the evidence is incomplete.
Do not use a repository tag as a substitute for built-artifact identity. Source code, a Python package, and a Docker image are separate objects. A clean-looking repository or a newly retargeted Docker label cannot establish what was previously installed or executed.
When reviewing the official indicator list, compare the listed files or other indicators against preserved host and container records. Use read-only collection methods where possible, and follow the official instructions for any specific indicator. Finding a listed indicator supports a conclusion that the host was exposed. Not finding one does not prove the host is clean: indicators may be incomplete, removed, or unavailable in the records you retained. The official incident notice is the authority for the affected-artifact list and recovery instructions.
Credential scope follows host access
A compromised host should be treated as potentially able to read secrets available to its processes, service account, mounted files, or environment. That does not prove that every secret was copied or misused. It does mean that a missing indicator or an unchanged service cannot establish that a credential stayed private.
Which credentials should be rotated after an affected gateway? Start with a list of secrets the LiteLLM process or related deployment tools could read. Include model-provider API keys, database passwords, gateway authentication secrets, environment variables, cloud identity credentials, and deployment or developer credentials present on the host. Add secrets mounted into the container, exposed through a deployment system, or available to scripts running under the same account.
Separate credentials into two groups:
- Accessible to the affected host: rotate these from a separate, trusted device or environment. Revoke the old value, create a replacement, update the clean deployment, and confirm the old value no longer works.
- Not accessible to the affected host: document why they were out of reach, then assess them separately. Do not expand or narrow the rotation scope based only on whether an indicator file was found.
Prioritize credentials that can authorize model requests, access customer or internal data, modify cloud resources, or deploy new software. Rotate them in an order that preserves a controlled recovery path: establish trusted administrative access first, then replace the gateway’s secrets and dependent service credentials. Keep old values revoked; copying them into the rebuilt host defeats the purpose of rotation.
Microsoft’s analysis can help explain how startup behavior may expose credentials, but neither it nor the official investigation justifies claiming that a particular customer’s secrets were definitely exfiltrated. Record what was accessible, what was rotated, when it was revoked, and what evidence supports the decision.
Rebuild from trusted artifacts, then prove the boundary
Is deleting the container and pulling the latest image enough? No. Deleting a container does not remove exposure from the host, revoke credentials, or prove which artifact the replacement uses. Pulling a mutable tag also does not by itself prove the image’s identity. A clean recovery needs a trusted build input, a rebuilt environment, and independent credential rotation.
Use this decision path:
- If records match an affected package, tag, digest, or time window: isolate the host and proceed as an affected-system recovery. Build a clean environment from the current official guidance and rotate all secrets accessible to the old host.
- If records are incomplete but the deployment may have run during the official window: preserve what remains and use the conservative affected-system path. Do not treat an inability to confirm exposure as confirmation of safety.
- If records show that the deployment used an unaffected artifact outside the official window: document the artifact identity and time evidence, then follow the current official advisory for any additional checks. Do not skip the review merely because the installed version now appears current.
A practical recovery sequence is:
- Isolate the suspect environment. Restrict its ability to reach model APIs, databases, deployment services, and other systems. Preserve logs, manifests, image records, and host evidence before cleanup. Avoid running the suspect application or its Python environment.
- Establish artifact scope. Compare package versions, Docker tags, digests, and installation or start times with LiteLLM’s current notice. Keep the source of each record so another operator can reproduce the assessment.
- Build on a clean host or cleanly provisioned environment. Use trusted operating-system media and deployment inputs. Do not copy application executables, virtual environments, image layers, or unreviewed scripts from the suspect host into the replacement.
- Verify the replacement artifact. Follow LiteLLM’s current Docker image security guidance for the supported verification method, and pin the deployment to the verified artifact rather than relying on a floating label. The official Docker image security guide is the reference for its image-verification instructions. If the incident notice specifies a signing key, digest, or other validation step, follow that notice and confirm the details have not changed.
- Rotate and reissue secrets from a trusted device. Revoke old values at their providers, update the clean deployment with replacements, and check that the old credentials fail. Do not import an old environment file wholesale.
- Restore data selectively. Restore only data needed for service operation. Review deployment files and scripts before reuse, and do not restore executable content or credentials merely because they were present in a backup.
- Validate the service before reopening access. Confirm that the gateway connects only to the expected model services and database, that authentication and authorization behave as intended, and that the replacement deployment uses the verified artifact and new secrets.
- Review records and document closure. Check access logs, model-provider usage, database access, and deployment activity for the incident period and recovery period. Record uncertainty as uncertainty; a clean scan is not proof that no secret was accessed.
For Docker deployments, keep the image tag and digest in the deployment record, and review the exact image after every update. LiteLLM’s security guide explains the project’s image verification approach; follow the version of that guidance that is current when the rebuild occurs. The Reddit self-hosted community discussion shows that operators raised questions about affected tags and recovery. It is useful as a signal of user concern, not as evidence for the official scope or a substitute for the incident notice.
Recovery acceptance and server environment
Do not declare recovery complete merely because the gateway starts. Check the service boundary and its dependencies:
- The replacement runs the intended, verified package or image, and the deployment record captures its identity.
- The gateway can reach only the expected model endpoints and database, using replacement credentials.
- Old API keys and passwords have been revoked and tested as invalid.
- Logs and access records have been reviewed, with suspicious or unexplained activity escalated through the relevant provider or incident process.
- Backups and deployment files used in recovery have been reviewed for old secrets and untrusted executable content.
- The team knows where the new secrets are stored and who can read them.
For a team choosing a replacement host, evaluate the operating system, access method, storage, and workload needs separately from the security incident. RunnerAMD’s current server options list 128 GB or 256 GB of ECC memory, two directly attached 1 TB NVMe drives, and the available operating systems and network options; check the current product details before selecting a configuration because options and prices are subject to the live product table. SSH is the access method for Linux systems. These choices can support a clean deployment plan, but renting a server does not prevent a supply-chain compromise or make an unverified image trustworthy.
A clean rebuild can also be a useful point to review how the gateway is isolated from databases and other services. RunnerAMD’s deployment scenarios can help assess server use cases, while its privacy information is relevant when reviewing data-handling expectations. Neither replaces your own access controls, secret handling, artifact verification, or backup process.
If the workload is temporary, lightly used, or easy to move between short-lived environments, rebuilding on existing infrastructure may be the simpler choice. A dedicated physical server becomes relevant when a team needs an independently allocated host for a sustained workload and wants to plan its operating system, storage, and access model directly. Shared environments can introduce neighbor contention or constrain host-level control; whichever option is chosen, artifact provenance and credential rotation remain the security controls that matter. After acceptance, use the current RunnerAMD product details to assess whether a long-running, dedicated deployment fits the workload, not as a security guarantee.
Further reading
Rebuild your service on dedicated RunnerAMD hardware
Deploy your restored workload on a physical server allocated entirely to you, with no shared CPU or memory.
