litellm@1.34.26 vulnerabilities

Library to easily interface with LLM API providers

Direct Vulnerabilities

Known vulnerabilities in the litellm package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Improper Access Control

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Improper Access Control due to the Proxy using a hardcoded demo account with no permissions, posing a potential security risk.

How to fix Improper Access Control?

Upgrade litellm to version 1.35.1 or higher.

[,1.35.1)
  • M
Improper Access Control

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Improper Access Control where users could inadvertently delete files from the proxy server when accessing the /audio/transcriptions endpoint.

How to fix Improper Access Control?

Upgrade litellm to version 1.35.18 or higher.

[,1.35.18)
  • C
Improper Neutralization of Special Elements used in a Template Engine ('Template Injection')

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements used in a Template Engine ('Template Injection') due to the hf_chat_template method processing the chat_template parameter from the tokenizer_config.json file through the Jinja template engine without proper sanitization. An attacker can execute arbitrary code on the server by crafting malicious tokenizer_config.json files.

How to fix Improper Neutralization of Special Elements used in a Template Engine ('Template Injection')?

Upgrade litellm to version 1.34.42 or higher.

[,1.34.42)