CVE-2026-145674: BerriAI LiteLLM 1.65.5 before 1.85.0 Reflected XSS via /sso/debug/callback

Published Dec 6, 2026
·
Updated

BerriAI LiteLLM from 1.65.5 before 1.85.0 contains a reflected cross-site scripting vulnerability in the unauthenticated /sso/debug/callback endpoint, which reflects identity-provider fields into an inline script block via json.dumps without HTML escaping. Attackers with an IdP account can set a claim such as a display name containing </script>, complete the SSO flow, and send the callback URL to a proxy admin to steal session cookies and take over the account.

Affected Software

1 affected component
pypi/litellm>=1.65.5<1.85.0

Event History

Dec 6, 2026
CVE Published
via MITRE·12:16 AM
Data Sourced
via MITRE·12:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:18 AM
DescriptionSeverityWeakness
Event
via NVD·01:18 AM

Frequently Asked Questions

1

Who is realistically exposed to this issue?

LiteLLM deployments using versions from 1.65.5 before 1.85.0 are exposed if proxy administrators can be induced to open an SSO debug callback URL. The attacker must have an account at the configured identity provider and be able to control a reflected claim, such as a display name.

2

Does exploitation require an authenticated LiteLLM account?

No. The affected /sso/debug/callback endpoint is unauthenticated. However, the described attack requires the attacker to complete the SSO flow using an IdP account and then persuade a proxy admin to visit the resulting callback URL.

3

What is the practical impact if exploitation succeeds?

The injected script can steal a proxy administrator's session cookies, allowing an attacker to take over that administrator account. Confidentiality and integrity are affected; availability impact is not described.

4

How can I determine whether my deployment is affected?

Check whether LiteLLM is running a version from 1.65.5 up to, but not including, 1.85.0, and whether the deployment exposes or uses the /sso/debug/callback SSO flow. Also review whether IdP users can set claims such as display names that may contain attacker-controlled text.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203