Skip to content

Commit 3840fe7

Browse files
committed
fix(deps): pin litellm upper bound to 1.83.14
Addresses review feedback on google#5489: restore the project's defensive exact-version pin (matching the prior <=1.82.6 pattern) in place of the open-ended <2 cap. Pinning to current latest (1.83.14) keeps every future litellm release behind a deliberate bump, which is what stopped the 1.82.7/8 supply-chain attack from reaching ADK users. Tested: tests/unittests/models/test_litellm.py and tests/unittests/models/test_litellm_import.py pass (259 passed, 0 failed) against the installed litellm 1.83.13.
1 parent a1f8aeb commit 3840fe7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ optional-dependencies.extensions = [
123123
"k8s-agent-sandbox>=0.1.1.post3", # For GkeCodeExecutor sandbox mode
124124
"kubernetes>=29", # For GkeCodeExecutor
125125
"langgraph>=0.2.60,<0.4.8", # For LangGraphAgent
126-
"litellm>=1.83.7,<2", # For LiteLlm class. Lower bound is the first release with patches for 5 CVEs disclosed 2026-04-11/24; supersedes earlier supply-chain pin against 1.82.7/8.
126+
"litellm>=1.83.7,<=1.83.14", # For LiteLlm class. Lower bound is the first release with patches for 5 CVEs disclosed 2026-04-11/24; supersedes earlier supply-chain pin against 1.82.7/8. Upper bound pinned to current latest to defend against future supply-chain attacks (see #5489).
127127
"llama-index-embeddings-google-genai>=0.3", # For files retrieval using LlamaIndex.
128128
"llama-index-readers-file>=0.4", # For retrieval using LlamaIndex.
129129
"lxml>=5.3", # For load_web_page tool.
@@ -142,7 +142,7 @@ optional-dependencies.test = [
142142
"kubernetes>=29", # For GkeCodeExecutor
143143
"langchain-community>=0.3.17",
144144
"langgraph>=0.2.60,<0.4.8", # For LangGraphAgent
145-
"litellm>=1.83.7,<2", # For LiteLLM tests. Lower bound is the first release with patches for 5 CVEs disclosed 2026-04-11/24; supersedes earlier supply-chain pin against 1.82.7/8.
145+
"litellm>=1.83.7,<=1.83.14", # For LiteLLM tests. Lower bound is the first release with patches for 5 CVEs disclosed 2026-04-11/24; supersedes earlier supply-chain pin against 1.82.7/8. Upper bound pinned to current latest to defend against future supply-chain attacks (see #5489).
146146
"llama-index-readers-file>=0.4", # For retrieval tests
147147
"openai>=1.100.2", # For LiteLLM
148148
"opentelemetry-instrumentation-google-genai>=0.3b0,<1",

0 commit comments

Comments
 (0)