Repository navigation
security: Bump litellm to 1.90.7 — patch CVE-2026-84377 (provider-key exfiltration) - #13
Merged
Merged
Conversation
… 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
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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_basebut notfallbacksormodel_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 imagev1.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: floatingmain-latestreplaced with the same pinned image.Verification
.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;pytest341 passed./v1/status/simpleserves, and a body carryingfallbacks: [{"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