CVE-2026-34938: PraisonAI · Python Sandbox Escape via str Subclass startswith() Override in execute_code
Affects praisonaiagentsSource GCVE Database
Not known to be exploited · CVSS 10.0 Critical : upgrade to 1.5.90 as a priority.
Data as of 16 Nov 2026, 16:36 UTC
- Patch
- Available – fixed in 1.5.90
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade praisonaiagents to 1.5.90.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpraisonaiagents | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in praisonaiagents version 1.5.90 that fixes this vulnerability. Users should upgrade to version 1.5.90 or later. Until patched, disabling auto-approval (PRAISONAI_AUTO_APPROVE) can reduce risk by requiring human confirmation before code execution.
Description
The praisonaiagents package's execute_code() function runs attacker-controlled Python code inside a sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method. This allows arbitrary OS command execution on the host process user. The vulnerability affects versions prior to 1.5.90 and has a CVSS score of 10. Deployments with auto-approval enabled can be triggered silently via indirect prompt injection.
References
- github.com/MervinPraison/PraisonAI/security/advisories/GHSA-6vh2-h83c-9294 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-34938 (opens in a new tab)
- github.com/MervinPraison/PraisonAI (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/praisonaiagents/PYSEC-2026-484.yaml (opens in a new tab)
- pypi.org/project/praisonaiagents (opens in a new tab)