Read the docs
TI-2026-27162 Aliases CVE-2026-34938GHSA-6vh2-h83c-9294

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

Priority HIGH 82CWE-693Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-693.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.13398 96th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed PraisonAI (MervinPraison): 1.5.90praisonaiagents (PyPI): 1.5.90

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MervinPraisonPraisonAIbefore 1.5.901.5.90Patch availableCNA
—praisonaiagents (PyPI)before 1.5.901.5.90Patch availableGHSA-6vh2-h83c-9294
  • PraisonAI VendorMervinPraison Affected before 1.5.90 Fixed in 1.5.90 Patch available CNA
  • praisonaiagents (PyPI) Vendor— Affected before 1.5.90 Fixed in 1.5.90 Patch available GHSA-6vh2-h83c-9294

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:*:*:*before 1.5.90VulnerableMervinPraison
  • cpe:2.3:a:praison:praisonaiagents:*:*:*:*:*:*:*:* Versions before 1.5.90 Vulnerable ·MervinPraison

Remediation

  • Fix · CNA PraisonAI (MervinPraison) Fixed in 1.5.90
  • Fix · GHSA-6vh2-h83c-9294 praisonaiagents (PyPI) Fixed in 1.5.90 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34938
  2. 2026-10-03 Alias added: GHSA-6vh2-h83c-9294
  3. 2026-10-25 EPSS moved to the 95th–99th percentile

References

  • TI-2026-29070 PraisonAI: Critical RCE via `type: job` workflow YAML CVSS 3.1CRITICAL 9.8
  • TI-2026-29071 PraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessions CVSS 3.1CRITICAL 9.1
  • TI-2026-32306 PraisonAI has unsafe tool resolution in `ToolExecutionMixin.execute_tool`: undeclared `__main__` callables execute CVSS 3.1HIGH 8.6
  • TI-2026-27178 PraisonAI: SSRF in FileTools.download_file() via Unvalidated URL CVSS 3.1HIGH 8.6
  • TI-2026-27161 PraisonAI: Shell Injection in run_python() via Unescaped $() Substitution CVSS 3.1CRITICAL 9.8
  • TI-2026-28937 PraisonAIAgents has an OS Command Injection via shell=True in Memory Hooks Executor (memory/hooks.py) CVSS 4.0CRITICAL 9.3
See all 14 →

Sources