Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
fix(deps): bump litellm to 1.88.6 for GHSA-3cv6-jpf6-8222 (#7835)
João Mourab6bfae60b57c
diff --git a/lib/crewai/pyproject.toml b/lib/crewai/pyproject.tomlindex 80504156b..865abf401 100644--- a/lib/crewai/pyproject.toml+++ b/lib/crewai/pyproject.toml@@ -90,7 +90,7 @@ voyageai = ["voyageai~=0.3.5",]litellm = [- "litellm>=1.84.0,<2",+ "litellm>=1.88.6,<2",]bedrock = ["boto3~=1.43.46",diff --git a/pyproject.toml b/pyproject.tomlindex 97a0e38b6..e1dbe5dcb 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -262,6 +262,11 @@ exclude-newer-package = { msgpack = "2026-06-20T00:00:00Z", pydantic-settings =# fixed in 4.7.1. Declared as crewai-tools[snowflake] "snowflake-connector-python>=3.12.4",# which the lock resolved to 4.6.0.# soupsieve <=2.8.4 has GHSA-j934-xhv5-fg8f and GHSA-gjv8-xp57-g29c; force 2.9.2+.+# litellm <1.88.6 has GHSA-3cv6-jpf6-8222 (CVE-2026-84377; authenticated SSRF and provider-credential+# exfiltration via request-body routing parameters in the LiteLLM proxy server; crewAI uses litellm only as+# a client SDK, but pip-audit flags the package). The floor lives in lib/crewai/pyproject.toml (the+# crewai[litellm] extra, "litellm>=1.88.6,<2") rather than here, since crewai declares litellm directly.+# 1.88.6 is older than the global 3-day cutoff, so no exclude-newer-package override is needed.# Keep OpenAI on the SDK range required by CrewAI when transitive dependencies# loosen or pin their own lower versions.override-dependencies = [diff --git a/uv.lock b/uv.lockindex 3a10cf6df..db1b18256 100644--- a/uv.lock+++ b/uv.lock@@ -1558,7 +1558,7 @@ requires-dist = [{ name = "json5", specifier = "~=0.10.0" },{ name = "jsonref", specifier = "~=1.1.0" },{ name = "lancedb", specifier = ">=0.29.2,<0.30.1" },- { name = "litellm", marker = "extra == 'litellm'", specifier = ">=1.84.0,<2" },+ { name = "litellm", marker = "extra == 'litellm'", specifier = ">=1.88.6,<2" },{ name = "mcp", specifier = "~=1.28.1" },{ name = "mem0ai", marker = "extra == 'mem0'", specifier = ">=2.0.0,<3" },{ name = "openai", specifier = ">=2.30.0,<3" },@@ -4271,7 +4271,7 @@ wheels = [[[package]]name = "litellm"-version = "1.84.8"+version = "1.88.6"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohttp" },@@ -4287,9 +4287,9 @@ dependencies = [{ name = "tiktoken" },{ name = "tokenizers" },]-sdist = { url = "https://files.pythonhosted.org/packages/b4/2c/eda7995bc9d6a7277be409a317893df52a25131a21ed572651a3c27ac20e/litellm-1.84.8.tar.gz", hash = "sha256:5a6349ce1c153fc27c9b1f88c39a396779c30af16704d9ef3633ccb24d04d374", size = 15117432, upload-time = "2026-06-13T01:25:25.125Z" }+sdist = { url = "https://files.pythonhosted.org/packages/f4/a6/d2312da4d65390f0d899a669731500983c8a10bd89009657680949c5766d/litellm-1.88.6.tar.gz", hash = "sha256:07d947dfe92f137d5296c40285dbcf97cb405b4300d73c0feda48d76468d6eb4", size = 13889078, upload-time = "2026-08-09T00:06:33.818Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/12/9b/70a4f3378130564505046e94ce521363f50d075198e16b7663b66b11eb23/litellm-1.84.8-py3-none-any.whl", hash = "sha256:297b81d56b3fdfc39411b0330edce0f29a4b2e82e90d5f73efdc102b57cb45e7", size = 16747828, upload-time = "2026-06-13T01:25:12.964Z" },+ { url = "https://files.pythonhosted.org/packages/f7/0b/2e42b95ccca2e2a8a524808e9c414f70a0352165dac589efa01192afb8ba/litellm-1.88.6-py3-none-any.whl", hash = "sha256:8c01f7e9aebded5b3509128be648518a2ec4f1feb8dfb87a539895091651898b", size = 15271205, upload-time = "2026-08-09T00:06:30.607Z" },][[package]]