Skip to content

fix(k8s): bump the LiteLLM gateway to v1.103.10 for advisories #4370

Closed

Description

@dan-petty

Problem

The LiteLLM gateway image is pinned at ghcr.io/berriai/litellm:v1.103.0 in k8s/llm/gateway/deployment.yaml. The gateway is reachable from outside through the tunnel. Two critical advisories name this version line (read on 2026-11-10 from https://api.github.com/repos/BerriAI/litellm/security-advisories):

  • GHSA-7hp6-4w63-5g45 (critical, CVSS 9.9, published 2026-09-30). The proxy uses one key to seal secrets and to mint session tokens. An internal user can get a forged admin token, become proxy admin, and run commands through the MCP stdio endpoint. The range >= 1.103.0, < 1.103.1 holds our version. Fixed in 1.103.1 (2026-09-30).
  • GHSA-w4c7-34wj-hqm8 (critical, CVSS 10.0, published 2026-10-27). An unauthenticated request makes the proxy read a local file and send it to an attacker URL, which leaks LITELLM_MASTER_KEY. The advisory says that only a proxy with an Enterprise licence is affected. The repository sets no licence, so this gateway is probably not affected, but the range < 1.103.10 names our line. Fixed in 1.103.10 (2026-10-27).

The latest release is v1.108.4 (2026-11-09). No pull request or issue for this bump exists (searched issues and pull requests for litellm: #732 and #733 are closed and set v1.103.0). A bump to v1.105.0 was left to a person earlier; this one is a security fix.

Expected

The gateway runs the newest patch release of the 1.103 line, v1.103.10 (released 2026-10-27, 14 days before 2026-11-10), which holds both fixes. The new patch releases (1.103.1 to 1.103.10) add no migration, no config key change and no removed key that k8s/llm/gateway/config.yaml uses.

Acceptance criteria

  1. grep -rn "berriai/litellm:" k8s tests prints v1.103.10 and not v1.103.0.
  2. uv run pytest tests/ai/benchmark/test_k8s_llm_gateway.py passes with the new tag.
  3. After the merge, kubectl -n llm get deploy llm-gateway -o jsonpath='{.spec.template.spec.containers[0].image}' prints the new tag, kubectl -n llm rollout status deploy/llm-gateway ends with "successfully rolled out", and uv run devops ai ask-jev noul "Is this a docs-only change?" --context "Fix a typo in README.md" --json answers.

Existing tool considered

Renovate (.github/renovate.json) manages this pin, but it has opened no pull request: it takes the newest version and the 1.103 line is not the newest. A person or an agent sets the smallest safe bump here. No tool is built.

Proposed design

Problem statement

The LiteLLM gateway pins ghcr.io/berriai/litellm:v1.103.0. Two critical advisories name that line. The change pins v1.103.10, the first release that holds both fixes, and aligns the manifest test.

Acceptance criteria

Requirement: Gateway image pin

The LLM gateway Deployment SHALL pin the LiteLLM image to ghcr.io/berriai/litellm:v1.103.10.

Scenario: Deployment carries the fixed tag

  • WHEN The Deployment manifest k8s/llm/gateway/deployment.yaml is read.
  • THEN The image of the litellm container is ghcr.io/berriai/litellm:v1.103.10.

Requirement: Test image constant

The gateway manifest test SHALL compare the Deployment image with ghcr.io/berriai/litellm:v1.103.10.

Scenario: Test constant carries the fixed tag

  • WHEN The GATEWAY_IMAGE constant in tests/ai/benchmark/test_k8s_llm_gateway.py is read.
  • THEN Its value is ghcr.io/berriai/litellm:v1.103.10.

Requirement: No old image tag

The repository SHALL contain no LiteLLM image reference with tag v1.103.0 under k8s or tests.

Scenario: Search finds no old tag

  • WHEN A search for berriai/litellm:v1.103.0 runs under k8s and tests.
  • THEN The search returns no match.

Requirement: Gateway manifest tests

The gateway manifest test suite SHALL pass with the v1.103.10 pin.

Scenario: Gateway manifest tests pass

  • WHEN uv run pytest tests/ai/benchmark/test_k8s_llm_gateway.py runs.
  • THEN Pytest exits with status 0.

Existing Tool Considered

No alternatives check has run. Renovate (.github/renovate.json) manages the Kubernetes image pins. It selects the newest release, so it opened no pull request for the 1.103 line. This change edits the pin and the test constant. It builds no tool.

Key questions

  • Which LiteLLM release should the gateway pin?: Pin v1.103.10. It is the first release in the 1.103 line that fixes both advisories. (best practice) [sources: k8s/llm/gateway/deployment.yaml, k8s/llm/gateway/config.yaml]
    • Chosen: v1.103.10. It fixes GHSA-7hp6-4w63-5g45 and GHSA-w4c7-34wj-hqm8. The patch releases add no migration or config key change.
    • Rejected: v1.108.4. It is the newest release, but it goes past the patch line that holds the two fixes and may add migration or config changes.
  • Which repository files carry the LiteLLM image tag?: k8s/llm/gateway/deployment.yaml carries the Deployment image. tests/ai/benchmark/test_k8s_llm_gateway.py carries the GATEWAY_IMAGE constant that the test compares with it. [sources: k8s/llm/gateway/deployment.yaml, tests/ai/benchmark/test_k8s_llm_gateway.py]
  • Should Renovate manage this security patch bump?: No. Set the pin in the manifest and leave .github/renovate.json unchanged. (best practice) [sources: .github/renovate.json, k8s/llm/gateway/deployment.yaml]
    • Chosen: Set the pin directly. Renovate selects the newest release and opened no pull request for the 1.103 line. This fix needs the smallest safe bump.
    • Rejected: Add a Renovate rule for the 1.103 line. It changes dependency policy beyond this security fix and can block the next latest-release update.

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/bug
    scope/k8s
    status/new
    value/high
    effort/low
    on Nov 10, 2026
  2. dan-petty commented on Nov 10, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/bug. The fix prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P1-High. Two critical advisories (CVSS 9.9 and 10.0) affect an externally reachable gateway. The advisory GHSA-7hp6-4w63-5g45 does not set P0: the author has no write access, and no caller attached it as evidence. A person can set P0 with the label priority/p0-critical.
    • Value: High. Unpatched critical vulnerabilities on a service reachable from outside the cluster.
    • Effort: Low. A single image tag change in one YAML file plus existing test verification.
    • Related: chore(k8s): update litellm to v1.103.0 #732, which asks for a different change. Both items change the LiteLLM image tag in k8s/llm/gateway/deployment.yaml, but #732 bumped to v1.103.0 while this candidate bumps to v1.103.10 to close two critical advisories.
  3. added
    priority/p1-high
    owner/agent
    on Nov 10, 2026
  4. added
    status/ready
    and removed
    status/new
    on Nov 10, 2026
  5. devops-cli-service commented on Nov 10, 2026

    @devops-cli-service
    Contributor

    Status set to Ready at 120ae85 (see proposed design in issue body).

    Moved to new items: #4373.

  6. removed
    status/ready
    owner/agent
    on Nov 10, 2026
  7. devops-cli-service commented on Nov 10, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-10 14:35 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/k8ssource/agenttype/bugvalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions