CVE-2026-39888: CWE-657: Violation of Secure Design Principles in MervinPraison praisonaiagents
CVE-2026-39888 is a critical vulnerability in MervinPraison's praisonaiagents prior to version 1. 5. 115. The vulnerability arises from an incomplete sandboxing implementation in the execute_code() function, where the subprocess wrapper's AST-based blocklist omits key attributes that enable frame traversal. This omission allows an attacker to bypass sandbox restrictions by chaining through exception attributes to access the real Python builtins dictionary and execute arbitrary code. The vulnerability has a CVSS score of 10, indicating critical severity. A fix is available in version 1. 5. 115. No known exploits in the wild have been reported.
AI Analysis
Technical Summary
PraisonAI's multi-agent system praisonaiagents versions prior to 1.5.115 contain a sandbox escape vulnerability in the execute_code() function. The sandbox mode runs user code in a subprocess with restricted builtins and an AST-based blocklist. However, the blocklist inside the subprocess wrapper only blocks 11 attribute names, missing four critical attributes (__traceback__, tb_frame, f_back, f_builtins) that enable frame traversal. By chaining these attributes through a caught exception, an attacker can access the real builtins dictionary and retrieve exec, allowing arbitrary code execution outside the sandbox. This violates secure design principles (CWE-657) and improper input validation (CWE-693). The vulnerability is rated critical with a CVSS 3.1 score of 10. The issue is fixed in version 1.5.115.
Potential Impact
Successful exploitation allows an attacker with limited privileges (PR:L) to execute arbitrary code remotely (AV:N) without user interaction (UI:N), resulting in complete system compromise (C:H/I:H/A:H). This can lead to full confidentiality, integrity, and availability loss of the affected system running praisonaiagents versions before 1.5.115.
Mitigation Recommendations
Upgrade praisonaiagents to version 1.5.115 or later, where this vulnerability is fixed. Since the product is not a cloud service and no official patch advisory is provided, users should apply the fixed version promptly. There is no indication that the vulnerability is mitigated by other means or that no action is required.
CVE-2026-39888: CWE-657: Violation of Secure Design Principles in MervinPraison praisonaiagents
Description
CVE-2026-39888 is a critical vulnerability in MervinPraison's praisonaiagents prior to version 1. 5. 115. The vulnerability arises from an incomplete sandboxing implementation in the execute_code() function, where the subprocess wrapper's AST-based blocklist omits key attributes that enable frame traversal. This omission allows an attacker to bypass sandbox restrictions by chaining through exception attributes to access the real Python builtins dictionary and execute arbitrary code. The vulnerability has a CVSS score of 10, indicating critical severity. A fix is available in version 1. 5. 115. No known exploits in the wild have been reported.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI's multi-agent system praisonaiagents versions prior to 1.5.115 contain a sandbox escape vulnerability in the execute_code() function. The sandbox mode runs user code in a subprocess with restricted builtins and an AST-based blocklist. However, the blocklist inside the subprocess wrapper only blocks 11 attribute names, missing four critical attributes (__traceback__, tb_frame, f_back, f_builtins) that enable frame traversal. By chaining these attributes through a caught exception, an attacker can access the real builtins dictionary and retrieve exec, allowing arbitrary code execution outside the sandbox. This violates secure design principles (CWE-657) and improper input validation (CWE-693). The vulnerability is rated critical with a CVSS 3.1 score of 10. The issue is fixed in version 1.5.115.
Potential Impact
Successful exploitation allows an attacker with limited privileges (PR:L) to execute arbitrary code remotely (AV:N) without user interaction (UI:N), resulting in complete system compromise (C:H/I:H/A:H). This can lead to full confidentiality, integrity, and availability loss of the affected system running praisonaiagents versions before 1.5.115.
Mitigation Recommendations
Upgrade praisonaiagents to version 1.5.115 or later, where this vulnerability is fixed. Since the product is not a cloud service and no official patch advisory is provided, users should apply the fixed version promptly. There is no indication that the vulnerability is mitigated by other means or that no action is required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T20:32:03.011Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d6c32c1cc7ad14dab1ab41
Added to database: 4/8/2026, 9:05:48 PM
Last enriched: 4/16/2026, 12:12:04 PM
Last updated: 5/23/2026, 9:18:19 AM
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.