Repository navigation
chore(release): backport #35835, #35844 to rc/1.96.0 and refresh dependency pins - #36294
Conversation
Greptile SummaryThis backport moves MCP browser tokens onto the shared session-storage helper, stops retaining refresh tokens in browser-held token data, and refreshes Python, Go, and dashboard dependency pins
Confidence Score: 5/5The PR appears safe to merge with no concrete blocking or independently actionable non-blocking issue identified The MCP token changes remain consistent across storage, callers, cleanup, and server-side refresh behavior, while the dependency manifests and lockfiles are aligned for supported targets
|
| Filename | Overview |
|---|---|
| ui/litellm-dashboard/src/utils/mcpTokenStore.ts | Routes MCP access-token values through shared encoded session storage and excludes refresh tokens without changing key scoping or cleanup behavior |
| ui/litellm-dashboard/src/utils/mcpTokenStore.test.ts | Adds focused regression checks that refresh tokens and plaintext access-token payloads are not persisted |
| ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/create_mcp_server.tsx | Stops forwarding OAuth refresh tokens into browser-held MCP session state |
| ui/litellm-dashboard/src/app/(dashboard)/mcp-servers/_components/mcp_server_edit.tsx | Aligns edit and reauthorization flows with the browser-token storage policy |
| ui/litellm-dashboard/src/hooks/useToolsOAuthFlow.tsx | Excludes refresh credentials when storing tool OAuth access tokens in the browser |
| pyproject.toml | Widens the proxy cryptography range and adds the uv override needed to resolve cryptography 50 |
| uv.lock | Refreshes dependency resolution and cryptography artifacts consistently with the manifest |
| terraform/provider/go.mod | Refreshes gRPC, OpenTelemetry, and golang.org/x dependency versions |
| ui/litellm-dashboard/package.json | Refreshes security-related dashboard dependency overrides and the direct PostCSS pin |
| osv-scanner.toml | Adds two explicitly time-boxed pypdf advisory exceptions pending availability under the dependency cooldown |
Reviews (1): Last reviewed commit: "chore(deps): carry the pypdf scanner exc..." | Re-trigger Greptile
| @@ -1,3 +1,13 @@ | |||
| [[IgnoredVulns]] | |||
| id = "GHSA-fwg2-594c-jp42" | |||
There was a problem hiding this comment.
Low: PDF denial-of-service advisories are suppressed
The lockfile resolves pypdf 6.14.2, and this configuration ignores two advisories affecting its text-extraction paths. Processing a crafted PDF could consume excessive CPU or memory. Both issues are fixed in 6.15.0; retain scanner enforcement and upgrade when the exclusion expires on August 9, 2026, or backport the fixes before releasing.
PR overviewThis release maintenance PR backports changes from #35835 and #35844 to the rc/1.96.0 branch and refreshes dependency pins and scanner configuration. One dependency issue remains open: the pinned pypdf version can consume excessive CPU or memory when extracting text from a crafted PDF, while the relevant advisories are excluded from scanning. Exploitation depends on the application processing attacker-controlled PDFs, and the impact is limited to resource exhaustion in that path. Upgrading to pypdf 6.15.0 or backporting the fixes would resolve the concern. Open issues (1)
Fixed/addressed: 0 · PR risk: 4/10 |
TLDR
Problem this solves:
How it solves it:
Relevant issues
rc/1.96.0 was cut at v1.96.0-rc.1 on 2026-08-03, so it misses two changes that landed on staging the next day and have since shipped in v1.97.0-dev.1 and v1.97.0-dev.2. #35835 routes the MCP session token store through the shared storage helper and stops keeping a refresh token in browser storage. #35844 refreshes the grpc and golang.org/x modules used by the terraform provider
Alongside the picks this brings the line's dependency pins up to the same resolution staging already ships. The line's scanner run reported 19 findings across 8 packages, against none on staging, purely because the line was cut before those pins moved. After this PR the line resolves gitpython, cryptography, h2 and hpack at exactly staging's versions, and the dashboard's js-yaml, brace-expansion, postcss and nanoid are refreshed through the same package.json overrides staging uses. The two pypdf entries in osv-scanner.toml are carried across unchanged, so the file is now byte-identical to staging's; both are time-boxed and drop out once the fix leaves the three-day dependency cooldown
Linear ticket
Pre-Submission checklist
Screenshots / Proof of Fix
Type
🧹 Refactoring
🚄 Infrastructure
Changes
Picks, in staging merge order:
Dependency commits, each one revertible on its own:
No version bump. The line's pyproject stays at 1.96.0, which is unreleased: there is no v1.96.0 image, tag or release branch, so these ride the pending version rather than stranding a new one
Adaptation note for #35835: staging renamed create_mcp_server.tsx to CreateMCPServer.tsx after this line was cut, so the pick lands on the line's original filename. The rename was detected automatically and the change is path-only. After normalising the path, the picked diff is identical to the source apart from the blob hashes and one hunk offset, so no content diverged. #35844 is verbatim
cryptography is the one entry that needed a manifest change rather than a lock refresh. The line capped it below 49 and mlflow caps it below 50 across every reachable release, so widening the range alone cannot resolve. This mirrors staging exactly, widening the range and adding the matching uv override. That override is read by uv only, so anyone installing litellm[proxy,mlflow] with pip keeps the previous resolution, which is equally true on staging today
One follow-up belongs to whoever cuts the next rc: #35835 changes production .tsx, and the proxy serves the prebuilt bundle committed under litellm/proxy/_experimental/out/, so the change does not reach users until that bundle is rebuilt on this line. That rebuild is deliberately not in this PR, since it lands hundreds of generated files and is normally cut as its own change
Final Attestation