CVE-2026-145674 — BerriAI litellm
One of 6 BerriAI litellm vulnerabilities published together by NVD: our article covers all of them.
WebIdentity & authVulnerabilitiesEndpoint securitySummary
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 , complete the SSO flow, and send the callback URL to a proxy admin to steal session cookies and take over the account.
Severity breakdown
High · 7.6
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on confidentiality and integrity, none on availability
- Impact on other systems
- none
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| BerriAI litellm | ≥ 1.65.5, < 1.85.0 | 1.85.0 |
References by type
Vendor advisories
Other references
Affected
- BerriAI litellm
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-145674?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-145674?
CVE-2026-145674 has a CVSS 4.0 base score of 7.6 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-145674 being exploited?
Not as far as is known: CVE-2026-145674 is not in CISA's Known Exploited Vulnerabilities catalog as of December 6, 2026.
Which versions are affected by CVE-2026-145674?
BerriAI litellm ≥ 1.65.5, < 1.85.0 (fixed in 1.85.0).
How do I fix CVE-2026-145674?
Update to a fixed release: BerriAI litellm 1.85.0.