Skip to main content
← All vulnerabilities
CVE-2026-34937GHSA-W37C-QQFP-C67FPYSEC-2026-2954

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.90
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • MervinPraison PraisonAI

    fixed in 1.5.90

  • praisonaiagentsPyPI

    fixed in 1.5.90

References 1

GitHub · MervinPraison/PraisonAI