Description
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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MervinPraison | PraisonAI | < 1.5.90 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-w37c-qqfp-c67fExploit, Vendor Advisory
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-w37c-qqfp-c67fExploit, Vendor Advisory
Timeline
- Published
- Apr 3, 2026
- Last modified
- Jul 24, 2026
- NVD status
- Analyzed