Description (CNA)
PraisonAI before 4.5.128 contains an arbitrary shell command execution vulnerability where the UI modules hardcode approval_mode to auto, overriding administrator configuration from PRAISON_APPROVAL_MODE environment variable. Authenticated attackers can instruct the LLM agent to execute arbitrary shell commands via subprocess.run with shell=True, bypassing the manual approval gate and insufficient command sanitization blocklists.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| PraisonAI / PraisonAI | affected 0 before 4.5.128; unaffected 4.5.128 |
CWE
CWE-863
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-qwgj-rrpj-75xm
- https://www.vulncheck.com/advisories/praisonai-arbitrary-shell-command-execution-via-hardcoded-approval-mode-override
ADP enrichment
No English description supplied.