1. Accueil
  2. Vulnérabilités
  3. CVE-2024-6825

CVE-2024-6825

BerriAI/litellm version 1.40.12 contains a vulnerability that allows remote code execution. The issue exists…

Publiée le 20 mars 2025 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 59/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Litellm (2 ligne(s))
Litellm
ProduitVersionsCorrigé dansSource
Litellm avant 1.65.4 (exclu) — NVD
Litellm 1.65.4 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0, CNA:security@huntr.dev)
Faiblesse
CWE-94 · Injection de commandes / code

Comment sont obtenues et calculées ces données