Skip to content

security: Bump litellm to 1.90.7 — patch CVE-2026-84377 (provider-key exfiltration) - #13

Merged
emooreatx merged 1 commit into
mainfrom
security/litellm-1.90.7
Nov 13, 2026
Merged

emooreatx merged 1 commit into
mainfrom
security/litellm-1.90.7

Conversation

@emooreatx

Copy link
Copy Markdown
Contributor

Why

The pinned LiteLLM 1.90.0 is inside the affected range of GHSA-3cv6-jpf6-8222 / CVE-2026-84377 (1.90.0 – 1.90.6). Its request-body blocklist rejects a top-level api_base but not fallbacks or model_list, and a dict-form fallback is merged straight into the call kwargs. Any signed-in app user could therefore redirect a provider call — and the provider key with it — to a host they control through /v1/chat/completions, which is on the public allowlist.

What changed

  • Dockerfile: base image v1.90.7, pinned by digest (upstream's floating tags pointed at the 1.107.0 credential-stealer image on 2026-10-21).
  • pyproject.toml: litellm==1.90.7.
  • docker-compose.yml: floating main-latest replaced with the same pinned image.

Verification

  • 1.90.7 wheel and image inspected offline before pinning: both built 2026-08-09, no injected .pth / sitecustomize.py / cook.py, no stealer indicator strings; wheel file list matches 1.90.0 apart from the UI build hash.
  • ruff check . clean; pytest 341 passed.
  • Image built locally and booted with dummy keys: /v1/status/simple serves, and a body carrying fallbacks: [{"model": "default", "api_base": ...}] is rejected with "api_base is not allowed in request body".

Not covered here

🤖 Generated with Claude Code

https://claude.ai/code/session_019ZeGbWLBiokECvYqhrznKo

… exfiltration)

GHSA-3cv6-jpf6-8222 affects 1.90.0 - 1.90.6. The 1.90.0 request-body
blocklist rejected a top-level api_base but not `fallbacks` / `model_list`,
and a dict-form fallback is merged straight into the call kwargs, so any
signed-in app user could redirect a provider call (and the provider key)
to a host of their choosing via /v1/chat/completions.

- Dockerfile: v1.90.7, pinned by digest. Upstream's floating tags pointed
  at the 1.107.0 credential-stealer image on 2026-10-21; a tag can move.
- pyproject.toml: litellm==1.90.7.
- docker-compose.yml: replace floating `main-latest` with the same pin.

The 1.90.7 wheel and image were inspected offline before pinning (built
2026-08-09; no injected .pth / sitecustomize / cook.py, no stealer IOCs).
Verified in a locally built image: a body carrying
fallbacks[].api_base is now rejected.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019ZeGbWLBiokECvYqhrznKo
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-12T17:01:23.974925Z
We couldn’t complete this review. Comment @codex review to try again.
6bcbe9b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​litellm@​1.90.0 ⏵ 1.90.77485 +2100100100

View full report

@sonarqubecloud

Copy link
Copy Markdown

@emooreatx
emooreatx merged commit 6acafd4 into main Nov 13, 2026
8 checks passed
@emooreatx
emooreatx deleted the security/litellm-1.90.7 branch November 13, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant