CVE-2026-35030: LiteLLM: Authentication bypass via OIDC userinfo cache key collision
(updated )
When JWT authentication is enabled (enable_jwt_auth: true), the OIDC userinfo cache uses token[:20] as the cache key. JWT headers produced by the same signing algorithm generate identical first 20 characters.
This configuration option is not enabled by default. Most instances are not affected.
An unauthenticated attacker can craft a token whose first 20 characters match a legitimate user’s cached token. On cache hit, the attacker inherits the legitimate user’s identity and permissions. This affects deployments with JWT/OIDC authentication enabled.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-35030 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →