litellm is vulnerable to Improper Authorization
43
CVE Score
Medium
Improper Authorization
The ui_view_session_spend_logs endpoint in litellm/proxy/spend_tracking/spend_management_endpoints.py accepts a session_id argument and returns the matching spend logs without verifying the caller owns that session. A remote request supplying another user's session_id receives that user's spend log records. The fix adds an authorization check binding returned logs to the requesting user's own session.
Upgrade the litellm library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 1.96.2
Fixed in 1.97.0litellm is vulnerable to Improper Authorization in versions 0.0.1 - 1.96.2.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.