CVE-2026-57120 PUBLISHED

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

Assigner: GitHub_M
Reserved: 24.06.2026 Published: 14.09.2026 Updated: 14.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 6.5

Product Status

Vendor MervinPraison
Product praisonaiagents
Versions
  • Version < 1.6.59 is affected

References

Problem Types

  • CWE-693: Protection Mechanism Failure CWE