CVE-2026-31236: Schwachstelle in llm
Kritisch. 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...
PyPI, CWE-94
- Ausnutzung
- Nicht bestätigt
- Schweregrad
- 9,8 von 10
- Angriffsrisiko
- Unbekannt
- Korrektur
- Keine bekannt
- Update-Frist
- Keine Frist gesetzt
Details
- Hinweis-ID
- GHSA-g76p-4vg5-f4qh
- Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Fehlerklasse
- CWE-94
- Veröffentlicht
- 12. Mai 2026
- Letzte Änderung
- 16. Nov. 2026
- Ökosystem
- PyPI
Betroffene Pakete
Anfällige Versionsbereiche und korrigierte Versionen
- llm PyPI, Betroffen: Bis 0.27.1. Keine korrigierte Version bekannt
Sicherheitshinweise
Hinweise von Herstellern und Sicherheitsstellen