- Veröffentlicht
- 12.05.2026
- Zuletzt geändert
- 16.11.2026
- EPSS (30 Tage)
- 0.3 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Beschreibung
Originaltext der Quelle, nicht übersetzt.
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.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 1 nicht betroffen.
Nicht betroffen (1)
Red Hat OpenShift AI (RHOAI)Nicht betroffenverwundbarer Code nicht enthaltenrhoai/odh-model-controller-rhel9
Weitere betroffene Pakete (6)
Debian:13llmkein Fix bekanntDEBIAN-CVE-2026-31236
Debian:14llmkein Fix bekanntDEBIAN-CVE-2026-31236
PyPIllmkein Fix bekanntGHSA-g76p-4vg5-f4qh
PyPIllmkein Fix bekanntPYSEC-2026-400
Ubuntu:25.10llmkein Fix bekanntUBUNTU-CVE-2026-31236
Ubuntu:26.04:LTSllmkein Fix bekanntUBUNTU-CVE-2026-31236
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/simonw/llm
- www.notion.so/CVE-2026-31236-35d1e139318881a4a0f1fffcf671f7e3
- security-tracker.debian.org/tracker/CVE-2026-31236
- nvd.nist.gov/vuln/detail/CVE-2026-31236
- access.redhat.com/security/cve/CVE-2026-31236
- bugzilla.redhat.com/show_bug.cgi
- github.com/pypa/advisory-database/tree/main/vulns/llm/PYSEC-2026-400.yaml
- pypi.org/project/llm
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31236.json
- github.com/advisories/GHSA-g76p-4vg5-f4qh
- ubuntu.com/security/CVE-2026-31236
- www.cve.org/CVERecord
- github.com/simonw/llm/security/advisories/GHSA-g52p-p8pm-jjw6