Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108574 Overview
CVE-2026-108574 is an authorization bypass vulnerability in BerriAI LiteLLM versions up to and including 1.95.0. The flaw resides in the ui_view_session_spend_logs function within litellm/proxy/spend_tracking/spend_management_endpoints.py, part of the Spend Tracking component. An authenticated remote attacker can manipulate the session_id argument to access spend log data belonging to other callers. The issue is classified under CWE-285: Improper Authorization. A public exploit has been disclosed, and upstream maintainers released a fix in version 1.96.0 via commit 722d9ffa4f6c5ae15702ab9ab2c5f6bf1688308b.
Critical Impact
Low-privileged remote users can bypass authorization controls on the LiteLLM proxy and read spend log data outside their intended scope.
Affected Products
- BerriAI LiteLLM versions up to and including 1.95.0
- LiteLLM Proxy Spend Tracking component (spend_management_endpoints.py)
- Deployments exposing the /spend/logs/session/ui endpoint
Discovery Timeline
- 2026-10-11 - CVE-2026-108574 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-108574
Vulnerability Analysis
LiteLLM is a proxy and SDK that normalizes calls to multiple large language model (LLM) providers. The proxy includes a Spend Tracking subsystem that records per-key, per-user, per-team, and per-session token usage and cost. The ui_view_session_spend_logs handler returns spend logs filtered by a client-supplied session_id.
The handler accepts the session_id parameter but does not sufficiently validate that the authenticated caller owns the session or belongs to a team authorized to view it. An attacker with a valid low-privileged API key can supply arbitrary session_id values and retrieve usage records associated with other tenants. The attack is remote, requires low privileges (PR:L), and needs no user interaction.
Root Cause
The root cause is missing caller-scoping on the session spend logs endpoint. Access control relied on authentication alone and omitted a check binding the requested session_id to the caller's keys, user, team, or organization. [CWE-285] applies because authorization decisions did not fully reflect the resource owner.
Attack Vector
An attacker authenticates to the LiteLLM proxy with any valid API key and issues HTTP requests to /spend/logs/session/ui with manipulated session_id values. Successful requests return spend log entries that should be restricted to the owning caller or team, resulting in confidentiality impact on usage and cost telemetry.
"/spend/logs/v2",
"/spend/logs/ui",
"/spend/logs/session/ui",
+ "/key/spend/report",
+ "/user/spend/report",
+ "/team/spend/report",
+ "/organization/spend/report",
# Reads end users out of spend logs, scoped to the caller's own rows and
# permitted teams exactly like /spend/logs/ui — it belongs to the same
# access tier, not to customer management.
Source: GitHub Commit 722d9ff. The patch introduces caller-scoped spend report endpoints and aligns the session logs route with the same access tier that restricts rows to the caller and permitted teams.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-108574
Indicators of Compromise
- Repeated GET requests to /spend/logs/session/ui with varying session_id values from a single API key.
- Proxy access logs showing a single authenticated principal reading sessions associated with multiple unrelated users or teams.
- Spend log query volume anomalies that do not correlate with the caller's own LLM request history.
Detection Strategies
- Enable LiteLLM proxy audit logging and forward records to a centralized log platform for correlation.
- Baseline normal session_id access patterns per API key and alert on enumeration-style access.
- Review web application firewall (WAF) logs for sequential or scripted access to /spend/logs/session/ui.
Monitoring Recommendations
- Monitor the LiteLLM proxy process for outbound responses containing spend data for principals other than the authenticated caller.
- Track the LiteLLM version in deployment inventories and flag any instance at or below 1.95.0.
- Alert on access to Spend Tracking endpoints from service accounts or keys that have no legitimate billing or reporting role.
How to Mitigate CVE-2026-108574
Immediate Actions Required
- Upgrade BerriAI LiteLLM to version 1.96.0 or later, which includes commit 722d9ffa4f6c5ae15702ab9ab2c5f6bf1688308b.
- Rotate any API keys that may have been used to query spend logs during the exposure window.
- Restrict network access to the LiteLLM proxy management and spend endpoints to trusted operator networks.
Patch Information
The fix is included in LiteLLM release v1.96.0 and tracked in commit 722d9ff. Additional context is published in the VulDB entry for CVE-2026-108574.
Workarounds
- Place the LiteLLM proxy behind an authenticating reverse proxy that enforces per-tenant access control on /spend/logs/* paths.
- Disable or block the /spend/logs/session/ui route at the ingress layer until the upgrade is applied.
- Limit issuance of LiteLLM API keys to the minimum set of principals until patched.
# Example NGINX ingress rule to block the vulnerable route pre-patch
location /spend/logs/session/ui {
deny all;
return 403;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

