Skip to content
CriticalVulnerability

GHSA-2763-cj5r-c79m: PraisonAI Vulnerable to OS Command Injection

Published
Record updated
View JSON
Affected
  • PraisonAI < 4.5.121
Fixed in
4.5.121
  • released April 8, 2026, on the day of disclosure

Summary

PraisonAI's `execute_command` function, workflow shell steps (`_exec_shell` in `cli/features/job_workflow.py`) and action orchestrator pass user-controlled input to `subprocess.run()` with `shell=True`. Input from YAML workflow definitions, `agents.yaml` files, recipe steps and LLM-generated tool calls can therefore inject arbitrary shell commands through metacharacters such as `;`, `|`, `&&` and `$()`.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.