CVE-2026-34937
CRITICAL 9.8CVSS 3.1PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution
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.
- Published
- 3 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-w37c-qqfp-c67fPYSEC-2026-2954
- Sources
- NVDJSONOSV GHSA-w37c-qqfp-c67fJSONOSV PYSEC-2026-2954JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | praison | praisonaiagentscpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:*:*:* |
< 1.5.90 | 1.5.90 |
| OSV | PyPI | praisonaiagents | < 1.5.90 | 1.5.90 |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-w37c-qqfp-c67f · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34937 · ADVISORY
- https://github.com/MervinPraison/PraisonAI · PACKAGE
- https://pypi.org/project/praisonaiagents · PACKAGE
- https://github.com/advisories/GHSA-w37c-qqfp-c67f · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Apr 2026)