README.md
Rendering markdown...
version: "3.8"
services:
litellm:
# Pinned to the March 22, 2026 build which is vulnerable.
# The patch (RestrictedPython) was introduced in v1.83.11-stable;
# do NOT upgrade to any newer tag as the exploit will fail.
image: ghcr.io/berriai/litellm@sha256:7c311546c25e7bb6e8cafede9fcd3d0d622ac636b5c9418befaa32e85dfb0186
container_name: litellm-cve
ports:
- "4000:4000"
environment:
- LITELLM_MASTER_KEY=sk-litellm-master-key
restart: unless-stopped
# Patched version for comparison
litellm-fixed:
image: ghcr.io/berriai/litellm:v1.83.11-stable
container_name: litellm-fixed
ports:
- "4001:4000"
environment:
- LITELLM_MASTER_KEY=sk-litellm-master-key
profiles:
- fixed
restart: unless-stopped