What’s Vulnerable › Vulnerabilities

CVE-2026-56075: PraisonAI - Arbitrary Shell Command Execution via Hardcoded Approval Mode Override

Description

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 products

How to fix

Upgrade to a fixed version: PraisonAI 4.5.128. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-56075 or the next vulnerability affects your stack