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 contextf7cd90-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.100.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. This stable branch copy includes the note that OIDC e2e specs were skipped for lack of a harness, which is useful process detail. The subject and scope are correct and the backport is easy to trace. What remains missing is the security rationale for the token-context change, keeping the message at acceptable rather than good. Style-wise the branch note is useful and the header is clean; the missing security rationale is the only substantive gap, and it is not a structural one.

Browse categories

More refactor examples · Back to search