Skip to content
Threat Brief

← All advisories

CVE-2026-34938

Critical 10.0No known exploitationFix available

PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code

Vendor advisory: GHSA-6vh2-h83c-9294

Record last updated

CVSS score

10.0

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

None

No EPSS score available

CISA remediation deadline

None

Not in the KEV catalog

Description

PraisonAI is a multi-agent teams system. Prior to version 1.5.90, execute_code() in praisonai-agents runs attacker-controlled Python inside a three-layer sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper, achieving arbitrary OS command execution on the host. This issue has been patched in version 1.5.90.

Weakness: CWE-693

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
MervinPraisonPraisonAI< 1.5.90Not documentedCVE Program
pippraisonaiagentsall versions up to and including 1.5.891.5.90GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references