{"id":"CVE-2026-34937","published":"2026-04-03T22:50:48Z","modified":"2026-04-06T16:08:09Z","title":"PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00579,"percentile":0.48579,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-w37c-qqfp-c67f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.72},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 1.5.90"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-06T16:08:04.394983Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.5.90"],"patched":["1.5.90"],"from":["GHSA-w37c-qqfp-c67f","PYSEC-2026-2954"],"provenance":"source"}],"summary":{"text":"PraisonAI, a multi-agent teams system, has a shell injection flaw in its run_python() function, which builds a shell command by embedding user-supplied code in a python3 -c string and runs it with shell=True. Because the escaping only covers backslashes and double quotes, an attacker with local access and low-privilege credentials who can supply code to run_python() can use $() or backtick substitution to execute arbitrary operating system commands, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:23Z"},"euvd":{"id":"EUVD-2026-18917","exploited":false,"provenance":"source"}}