What’s Vulnerable › Vulnerabilities
CVE-2026-57120: PraisonAI: execute_code sandbox bypass: str.format C-level attribute access reads every blocklisted dunder
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-14 · updated 2026-09-16
- Weakness: CWE-693
Description
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.
Affected products
- MervinPraison praisonaiagents: before 1.6.59
References
- https://github.com/MervinPraison/PraisonAI/commit/2adfe7e8323f6deec66925cf15a885b6238895e9
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-pv2j-rghr-v5r9
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-pv2j-rghr-v5r9
Get alerted when CVE-2026-57120 or the next vulnerability affects your stack