Skip to main content
VulnerabilityPublished Updated

CVE-2026-31236: Litecli · llm CLI tool contains a code injection vulnerability via `--functions` command-line argument

Affects litecliSource GCVE Database

0
Compare
Authoritative record:CVE-2026-31236· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical : upgrade to 1.17.1 as a priority.

Data as of 17 Nov 2026, 19:05 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.17.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade litecli to 1.17.1.

Affected software

ProductAffectedFixed in
Homebrewliteclipkg:brew/litecliOther threatsAffected
  • >=1.16.0 <1.17.1
Fixed in
  • 1.17.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in litecli version 1.17.1. Users should upgrade to this version to remediate the vulnerability. Until upgrading, running the llm CLI tool inside a sandbox environment such as a container or virtual machine can reduce the risk. The --functions argument executes arbitrary Python code by design, so no built-in sandboxing exists.

Description

The llm CLI tool (litecli) up to version 1.17.0 contains a critical code injection vulnerability via the --functions command-line argument. This argument allows execution of arbitrary Python code without sanitization or sandboxing, enabling an attacker to execute arbitrary code on a victim's system if they are tricked into running a crafted command. The vulnerability is fixed in version 1.17.1.

References

Community reviews

Loading reviews…