PatchSiren

simonw CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

CRITICAL simonw CVE published 2026-05-12

CVE-2026-31236

The llm CLI tool contains a critical code injection vulnerability via its --functions command-line argument. This argument allows users to provide custom Python function definitions but directly executes the provided code using the unsafe exec() function without 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, potentially granting the attacker full control.