Skip to content

chore: update litellm to 1.106.4 in enterprise ai agents - #2904

Open
sqrrrl wants to merge 2 commits into
mainfrom
remediate-litellm-cve-498804014679906141
Open

sqrrrl wants to merge 2 commits into
mainfrom
remediate-litellm-cve-498804014679906141

Conversation

@sqrrrl

@sqrrrl sqrrrl commented Oct 27, 2026

Copy link
Copy Markdown
Member

This PR updates the litellm dependency to 1.106.4 (which satisfies the >=1.84.0 remediation requirement) for both enterprise-ai-agent and enterprise-ai-agent-local projects to mitigate CVE-2026-49468.

During dependency resolution, I found that litellm required a stricter Python bound (<3.14), so requires-python in pyproject.toml was updated from <4.0 to <3.14 for both projects to satisfy Poetry's solver while retaining necessary constraints on other packages (such as google-cloud-aiplatform with adk,agent-engines extras, and google-adk remaining within the 1.x bounds).

Testing was verified by running module import tests and validating successful resolution by Poetry.


PR created automatically by Jules for task 498804014679906141 started by @sqrrrl

- Updates `litellm` package in both `enterprise-ai-agent` and `enterprise-ai-agent-local` projects to version `1.106.4` to remediate CVE-2026-49468.
- Modifies Python version requirements to `<3.14` in both `pyproject.toml` to successfully lock `litellm` and resolve Poetry dependencies.

Co-authored-by: sqrrrl <346343+sqrrrl@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Added setuptools package installation to `pipenv install` commands in the github testing script to resolve test runtime failures caused by `pkg_resources` missing from Python >= 3.12 default installs.

Co-authored-by: sqrrrl <346343+sqrrrl@users.noreply.github.com>
@sqrrrl
sqrrrl requested a review from a team as a code owner October 27, 2026 12:56
@sqrrrl
sqrrrl requested a review from PierrickVoulet October 27, 2026 12:56
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.

3 participants