Vulnerability · Published Apr 3, 2026 · Assigned by GitHub_M

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

High 7.8

In plain English

A high-severity OS command injection in PraisonAI from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.6%top 52.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpraisonaiagents1.5.90GHSA-w37c-qqfp-c67f
PyPIpraisonaiagents1.5.90PYSEC-2026-2954

Affected products (as reported)

VendorProductVersions
MervinPraison PraisonAI < 1.5.90

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References