CVE-2026-145674: BerriAI LiteLLM from Cross-site Scripting
Published 2026-12-06 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update BerriAI LiteLLM from to 1.85.0 or later on your normal schedule.
What to do
- Update BerriAI LiteLLM from to version 1.85.0 or later. Versions from 1.65.5 up to, but not including, 1.85.0 are affected.
- Until it is patched, do not leave BerriAI LiteLLM from reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Apply a restrictive Content-Security-Policy and mark session cookies HttpOnly to limit what an injected script can do.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| BerriAI LiteLLM from | ≥ 1.65.5, < 1.85.0 | 1.85.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality and integrity is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness: Cross-site Scripting
An attacker can make script run in another user's browser in the context of the affected site, allowing session theft or actions taken as that user.
Classified as CWE-79.
Description
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.
Advisory text as published in the NVD record.