CVE-2024-6825
NixOS vulnerability analysis and mitigation

Overview

BerriAI/litellm version 1.40.12 contains a remote code execution vulnerability. The vulnerability exists in the handling of the 'post_call_rules' configuration, where a callback function can be added. The issue was discovered and reported through the huntr.dev platform (Huntr Report).

Technical details

The vulnerability stems from the way the 'post_call_rules' configuration handles callback functions. When a value is provided, it 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 implementation allows an attacker to set system methods like 'os.system' as a callback. The vulnerability has been assigned a CVSS v3.0 base score of 8.8 (HIGH) with the vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Huntr Report).

Impact

The vulnerability enables the execution of arbitrary commands when a chat response is processed, potentially allowing attackers to execute malicious code on the affected system. This could lead to complete system compromise, data theft, or service disruption (Huntr Report).

Exploitability

The vulnerability has been classified as CWE-77 (Improper Neutralization of Special Elements used in a Command ('Command Injection')). The attack requires low complexity and only low privileges to execute, making it relatively straightforward to exploit (Huntr Report).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-13097CRITICAL9.1
  • NixOS logoNixOS
  • ipa-selinux-luna
NoYesAug 20, 2026
CVE-2026-11861HIGH8.1
  • NixOS logoNixOS
  • samba-client-libs
NoYesAug 20, 2026
CVE-2026-73198HIGH7.5
  • NixOS logoNixOS
  • samba-winbind-krb5-locator-debuginfo
NoYesAug 20, 2026
CVE-2026-73197HIGH7.5
  • NixOS logoNixOS
  • freeipa-selinux
NoYesAug 20, 2026
CVE-2026-73196MEDIUM6.5
  • NixOS logoNixOS
  • freeipa-selinux
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management