Skip to main content
← All vulnerabilities
CVE-2026-57120GHSA-PV2J-RGHR-V5R9PYSEC-2026-3533

PraisonAI: execute_code sandbox bypass: str.format C-level attribute access reads every blocklisted dunder

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.59
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.59, execute_code sandbox mode permits runtime assembly of blocklisted dunder names and allows str.format or str.format_map to resolve dotted fields through C-level attribute access that bypasses _safe_getattr. This exposes class, qualified-name, base-class, globals, and object-dictionary attributes to prompt-influenced code when approval is automatically granted, producing a high-impact read primitive without establishing a complete in-process execution chain. This issue is fixed in praisonaiagents 1.6.59.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MervinPraison praisonaiagents

    fixed in 1.6.59

  • praisonaiagentsPyPI

    fixed in 1.6.59

References 3

GitHub · MervinPraison/PraisonAI