Bind UI/CLI session tokens to their own AES-GCM context

refactor(auth): bind UI/CLI session tokens to their own AES-GCM context
Bind UI/CLI session tokens to their own AES-GCM context9161d7-refactor-bind-ui-cli-session-tokens-to-cve-2026-114612refactorbind cli session tokens own aes

Committed by yuneng-berri

commit message
refactor(auth): bind UI/CLI session tokens to their own AES-GCM context

Backport of BerriAI/litellm-private#5 (12981f93d3) onto stable/1.101.x, applied as
the PR's net diff so main-only intermediate refactors stay out.
 
The dashboard and lite CLI SSO specs under tests/e2e/ui/oidc are left out
because this line has no OIDC e2e harness to run them.

Editor assessment

This commit patches CVE-2026-114612. Same shape as the other stable backports: the header is clear, the auth scope fits, and the body states which branch this lands on and that the private PR's net diff was applied. The security reason for separating the AES-GCM contexts is never stated, so a reader learns where the change went, not why it exists. Understandable and honest, but thin as an explanation. Style-wise it is clean - correct scope, lowercase, period-free - and the backport note is properly isolated after a blank line; the explanation, not the form, is what needs work.

Browse categories

More refactor examples · Back to search