CVE 7.8 HIGH

PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution_CVE-2026-34937

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Basic Information

ID CVE-2026-34937
Source GitHub_M
Published Apr 3, 2026 at 22:50
Modified Apr 6, 2026 at 16:08

Affected Product

Vendor MervinPraison
Product PraisonAI
Version < 1.5.90
Affected Versions MervinPraison PraisonAI < 1.5.90

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.