> CVE-2024-6825 [HIGH]

« BACK_TO_HOME
PUBLISHED
2025-03-20 10:15
MODIFIED
2025-10-15 13:15
CVSS_SCORE V3
8.8
EPSS (Prob. Exploit)
1.65%
Top 23.6%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-11 OSV 🔗 2026-11-08

> DESCRIPTION

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 to set a system method, such as 'os.system', as a callback, enabling the execution of arbitrary commands when a chat response is processed.

> AFFECTED_PRODUCTS

Litellm - Litellm
< 1.65.4
Litellm - Litellm
Version: 1.65.4

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> GITHUB SECURITY ADVISORY

GHSA-53gh-p8jc-7rg8 HIGH

LiteLLM Vulnerable to Remote Code Execution (RCE)

AFFECTED PACKAGES:
PIP / litellm
>= 1.40.3.dev2, <= 1.40.12

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Remote Code Execution in BerriAI/litellm

AFFECTED PACKAGES:
Unknown / Unknown
748 versions affected
ALIASES:
GHSA-53gh-p8jc-7rg8, PYSEC-2026-1541

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/03/2025 10:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:59
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME