litellm is vulnerable to Arbitrary File Read
81
CVE Score
High
Arbitrary File Read
The request body blocklist for /utils/transform_request rejects the vertex_credentials key but not its alias vertex_ai_credentials, so a crafted value under that alias reaches the Vertex AI credential loader unfiltered. An authenticated low privilege internal_user_viewer can pass a local file path through this alias and make the credential loader read the file and send its contents to a URL the attacker chooses. Reading files such as /proc/self/environ discloses the LITELLM_MASTER_KEY and provider API keys, escalating the read into full proxy admin control. The fix adds the missing alias to the blocklist.
Upgrade the litellm library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you expose /utils/transform_request to users holding the internal_user_viewer role or lower privilege.
0.0.1 - 1.88.5
Fixed in 1.88.61.89.0 - 1.89.6
Fixed in 1.89.71.90.0 - 1.90.6
Fixed in 1.90.71.91.0 - 1.91.4
Fixed in 1.91.51.92.0 - 1.92.1
Fixed in 1.92.21.93.0 - 1.93.1
Fixed in 1.93.21.94.0 - 1.94.2
Fixed in 1.94.3litellm is vulnerable to Arbitrary File Read in versions 0.0.1 - 1.88.5, 1.89.0 - 1.89.6, 1.90.0 - 1.90.6, 1.91.0 - 1.91.4, 1.92.0 - 1.92.1, 1.93.0 - 1.93.1 and 1.94.0 - 1.94.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.