Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39888: CWE-657: Violation of Secure Design Principles in MervinPraison praisonaiagents

0
Critical
VulnerabilityCVE-2026-39888cvecve-2026-39888cwe-657cwe-693
Published: Wed Apr 08 2026 (04/08/2026, 20:41:56 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: 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

AILast updated: 04/16/2026, 12:12:04 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses