fix(security): bump vulnerable dependencies (22 of 25 dependabot alerts)#25442
Conversation
The cookbook example pinned litellm==1.61.15 which has 3 known vulnerabilities (CVE-2026-35029, CVE-2026-35030, and a password hash exposure issue), all patched in 1.83.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
pip: - cryptography 43.0.3 → 46.0.7 (5 CVEs including CVSS 8.2 ECDH key leak) npm: - hono 4.1.4/4.12.7 → 4.12.12 (prototype pollution, cookie injection, path traversal, middleware bypass, IP matching bypass) - @hono/node-server 1.19.6 → 1.19.13 (serveStatic middleware bypass) - vite 7.3.1 → 7.3.2 (file read via WebSocket, path traversal, fs.deny bypass) - lodash override 4.17.23 → 4.18.1 (code injection via _.template, prototype pollution via _.unset/_.omit) mlflow left at 3.9.0 — 2 of 3 alerts have no upstream fix, and 3.11.1 is blocked by exclude-newer (transitive dep chain). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR bumps 8 dependency files to remediate 22 open Dependabot security alerts across Python ( Confidence Score: 5/5Safe to merge — pure dependency version bumps with no application logic changes, all lockfiles updated consistently. All changes are version pin updates in package manifests and lockfiles only. Every bump is justified by a concrete CVE or Dependabot alert, the lockfiles are consistent with the declared versions, and the PR correctly documents the 3 remaining alerts that cannot be fixed upstream yet. No application code is touched, so regression risk is low and the security benefit is high. All remaining findings are P2 or below. No files require special attention.
|
| Filename | Overview |
|---|---|
| pyproject.toml | Bumps cryptography from 43.0.3 → 46.0.7 in the proxy extra, addressing 5 CVEs; all other pins unchanged. |
| uv.lock | Lock file regenerated for cryptography-46.0.7 with matching sdist/wheel hashes; exclude-newer-package = "cryptography=false" override recorded. |
| cookbook/litellm-ollama-docker-image/requirements.txt | Updates pinned litellm from 1.61.15 → 1.83.5, resolving 3 self-referential Dependabot alerts. |
| litellm-js/proxy/package.json | Bumps hono from 4.1.4/4.12.7 → 4.12.12; fixes prototype pollution, cookie injection, and path traversal CVEs. |
| litellm-js/spend-logs/package.json | Bumps hono → 4.12.12 and @hono/node-server → 1.19.13, fixing serveStatic middleware bypass. |
| litellm-js/spend-logs/package-lock.json | Lock file updated consistently with hono 4.12.12 and @hono/node-server 1.19.13 resolutions. |
| ui/litellm-dashboard/package.json | Bumps vite → 7.3.2 (fixes WebSocket file-read, path traversal, fs.deny bypass) and pins lodash override to 4.18.1 (fixes _.template injection and prototype pollution). |
| ui/litellm-dashboard/package-lock.json | Lock file regenerated; lodash-4.18.1 resolved from registry and vite-7.3.2 resolved correctly. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[22 Dependabot Alerts] --> B{Ecosystem}
B --> C[Python / pip]
B --> D[JavaScript / npm]
C --> C1["cryptography 43.0.3 → 46.0.7\n5 CVEs incl. CVSS 8.2"]
C --> C2["litellm cookbook pin 1.61.15 → 1.83.5\n3 self-referential alerts"]
D --> D1["hono 4.12.7 → 4.12.12\n12 alerts: prototype pollution, path traversal"]
D --> D2["hono-node-server 1.19.6 → 1.19.13\nserveStatic bypass"]
D --> D3["vite 7.3.1 → 7.3.2\n3 alerts: WebSocket file-read, fs.deny bypass"]
D --> D4["lodash override 4.17.23 → 4.18.1\ntemplate injection, prototype pollution"]
C1 --> E[pyproject.toml + uv.lock]
C2 --> F[requirements.txt]
D1 --> G[litellm-js package.json files]
D2 --> G
D3 --> H[ui/litellm-dashboard package.json]
D4 --> H
E & F & G & H --> Z[22 alerts resolved\n3 remaining: mlflow - no upstream fix]
Reviews (1): Last reviewed commit: "fix(security): bump vulnerable dependenc..." | Re-trigger Greptile
254e7a3
into
BerriAI:litellm_oss_staging_04_09_2026
Relevant issues
Resolves dependabot alerts: #465, #466, #467, #468, #469, #470, #472, #474, #476, #479, #480, #481, #482, #483, #484, #485, #487, #488, #489, #490, #491, #494
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/test_litellm/directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewType
🐛 Bug Fix
Changes
Bumps vulnerable dependencies to resolve 22 of 25 open dependabot alerts.
pip
npm
_.template, prototype pollution via_.unset/_.omitNot fixed (3 remaining)
exclude-newer = "30 days"(published 2 days ago, transitive dep chain also too new)Test plan
pyproject.toml,package.json, and lockfilesuv lock --checkpasses (locked with--exclude-newer-package 'cryptography=false')npm auditshows 0 vulnerabilities inui/litellm-dashboardandlitellm-js/spend-logs🤖 Generated with Claude Code