7.8Hoch

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

MervinPraison PraisonAI Veröffentlicht: (vor 7 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-78

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
MervinPraison PraisonAI < 1.5.90
praison praisonaiagents < 1.5.90

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:*:*:* < 1.5.90