litellm is vulnerable to Arbitrary File Read
81
High Risk
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.
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.
litellm 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.
Upgrade the litellm library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.