PraisonAI is a multi-agent teams system. Prior to version 1.5.90, run_python() in praisonai constructs a shell command string by interpolating user-controlled code into python3 -c "<code>" and passing it to subprocess.run(..., shell=True). The escaping logic only handles \ and ", leaving $() and backtick substitutions unescaped, allowing arbitrary OS command execution before Python is invoked. This issue has been patched in version 1.5.90.
References
| Link | Resource |
|---|---|
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-w37c-qqfp-c67f | Exploit Vendor Advisory |
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-w37c-qqfp-c67f | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-04-03 23:17
Updated : 2026-07-24 22:10
NVD link : CVE-2026-34937
Mitre link : CVE-2026-34937
CVE.ORG link : CVE-2026-34937
JSON object : View
Products Affected
praison
- praisonaiagents
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
