Advisories

BerriAI LiteLLM before 1.88.6 File Read and RCE via /utils/transform_request

Go back
Severity
high
Date
Affecting
  • litellm < 1.88.6

  • litellm >= 1.89.0, < 1.89.7

  • litellm >= 1.90.0, < 1.90.7

  • litellm >= 1.91.0, < 1.91.5

  • litellm >= 1.92.0, < 1.92.2

  • litellm >= 1.93.0, < 1.93.2

  • litellm >= 1.94.0, < 1.94.3

CWE
  • CWE-20 Improper Input Validation
CVSS
8.6
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Credit
rekter0, zdi-disclosures
Description
BerriAI LiteLLM before 1.88.6, 1.89.x before 1.89.7, 1.90.x before 1.90.7, 1.91.x before 1.91.5, 1.92.x before 1.92.2, 1.93.x before 1.93.2, and 1.94.x before 1.94.3 lets authenticated users pass Vertex AI credentials in request_body to /utils/transform_request because the request-body blocklist omits vertex_ai_credentials (and before 1.85.0 did not inspect request_body). Attackers can supply a Google external_account credential to make the proxy read local files such as /proc/self/environ and send them to an attacker-controlled token_url, exposing master and provider keys, or execute commands when executable credential sources are allowed.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.