Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Command Injection vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for litellm
.
litellm is a Library to easily interface with LLM API providers
Affected versions of this package are vulnerable to Arbitrary Command Injection through the post_call_rules
configuration. An attacker can execute arbitrary commands by setting a system method, such as os.system
, as a callback, which is executed when a chat response is processed.