VulnerabilityCVE-2026-31236GHSA-g76p-4vg5-f4qh
The llm CLI tool thru 0.27.1 contains a critical code injection vulnerability via its --functions command-line argument.
Not on CISA KEVCVSS 9.8 (v3.1)
Summary
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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CISA Vulnrichment Source: CISA Vulnrichment
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)