All vulnerabilities

Servers and applications

CVE-2024-6825

BerriAI/litellm version 1.40.12 contains a vulnerability that allows remote code execution. The issue exists in the handling of the 'post_call_rules' configuration, where a callback function can be added. The provided value is split at the final '.' mark, with the last part considered the function name and the remaining part appended with the '.py' extension and imported. This allows an attacker…

Severity
High 8.8
Published
20 Mar 2025
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.65.4
Sources
NVD

Affected software

SoftwareAffected versions
LiteLLMServers and applications · cpe:a:litellm:litellm
  • Every version before 1.65.4
  • Version 1.65.4-dev2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-6825
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-6825