Skip to main content
VulnerabilityPublished Updated

CVE-2026-34938: PraisonAI · Python Sandbox Escape via str Subclass startswith() Override in execute_code

Affects praisonaiagentsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-34938· Critical 10.0

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

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIpraisonaiagentsAffected
  • <1.5.90
Fixed in
  • 1.5.90

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

Community reviews

Loading reviews…