Paper/Archive/CVE-2026-34937

CVE-2026-34937

MervinPraison PraisonAI — PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
PraisonAI< 1.5.90–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

exploitgithub.com/MervinPraison/PraisonAI/security/advisories/GHSA-w37c-qqfp-c67f