PraisonAI: execute_code sandbox bypass: str.format C-level attribute access reads every blocklisted dunder
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- 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 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MervinPraison | praisonaiagents | before 1.6.59 | 1.6.59 | Patch available | CNA |
| — | praisonaiagents (PyPI) | before 1.6.59 | 1.6.59 | Patch available | GHSA-pv2j-rghr-v5r9 |
- praisonaiagents VendorMervinPraison Affected before 1.6.59 Fixed in 1.6.59 Patch available CNA
- praisonaiagents (PyPI) Vendor— Affected before 1.6.59 Fixed in 1.6.59 Patch available GHSA-pv2j-rghr-v5r9
Remediation
- Fix · CNA praisonaiagents (MervinPraison) Fixed in 1.6.59
- Fix · GHSA-pv2j-rghr-v5r9 praisonaiagents (PyPI) Fixed in 1.6.59 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-57120
- 2026-10-03 Alias added: GHSA-pv2j-rghr-v5r9
References
More MervinPraison vulnerabilities
- TI-2026-79619 Missing authentication in PraisonAI AgentOS exposes agent chat CVSS 3.1CRITICAL 9.8
- TI-2026-71236 Missing access control in PraisonAI AgentTeam exposes agent endpoints CVSS 3.1CRITICAL 9.8
- TI-2026-44052 PraisonAI before 1.6.78 Remote Code Execution via CodeAgent CVSS 4.0CRITICAL 10.0
- TI-2026-41123 praisonai-platform 0.1.4 still boots on the hardcoded JWT secret dev-secret-change-me (default-open production guard) CVSS 3.1CRITICAL 9.8
- TI-2026-41122 praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery CVSS 3.1CRITICAL 9.8
- TI-2026-41118 PraisonAI MCPServer exposes unauthenticated HTTP tools/call CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-57120 · CVE Program
- CVE-2026-57120 · NVD
- FIRST EPSS
- GHSA-pv2j-rghr-v5r9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences