- Accueil
- Vulnérabilités
- CVE-2026-31236
CVE-2026-31236
The llm CLI tool thru 0.27.1 contains a critical code injection vulnerability via its --functions…
Résumé
The llm CLI tool thru 0.27.1 contains a critical code injection vulnerability via its --functions command-line argument. This argument is intended to allow users to provide custom Python function definitions. However, the tool directly executes the provided code using the unsafe exec() function without any sanitization, sandboxing, or security restrictions. An attacker can exploit this by crafting a malicious llm command with arbitrary Python code in the --functions argument and using social engineering to trick a victim into running it. This leads to arbitrary code execution on the victim's system, potentially granting the attacker full control.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| llm | jusqu’à 0.27.1 (inclus) |
— | GitHub Advisory |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-g76p-4vg5-f4qh — llm CLI tool contains a code injection vulnerability via `--functions` command-line argument 12 mai 2026
Références
- https://github.com/simonw/llmPACKAGE
- https://www.notion.so/CVE-2026-31236-35d1e139318881a4a0f1fffcf671f7e3WEB
- https://access.redhat.com/security/cve/CVE-2026-31236WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2476636WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31236.jsonWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-31236ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/llm/PYSEC-2026-400.yamlWEB
- https://pypi.org/project/llmWEB
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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)- Faiblesse
- CWE-94 · Injection de commandes / code