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

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:18:17.000Z
- Modified: 2026-07-24T22:10:00.140Z
- Also known as: GHSA-w37c-qqfp-c67f, PYSEC-2026-2954
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 1.5.90
- praisonaiagents (PyPI): before 1.5.90
- praison praisonaiagents: before 1.5.90

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-34937](https://www.cve.org/CVERecord?id=CVE-2026-34937), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-w37c-qqfp-c67f](https://github.com/advisories/GHSA-w37c-qqfp-c67f), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-34937](https://nvd.nist.gov/vuln/detail/CVE-2026-34937), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2954](https://osv.dev/vulnerability/PYSEC-2026-2954), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34937 · Whole record: https://cve.day/CVE-2026-34937.json · Rebuilt by cve.day 2026-11-25T22:59:17.934Z
