Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39888— PraisonAIAgents has a sandbox escape via exception frame traversal in `execute_code` (subprocess mode)

Quick assessment

Affected
MervinPraison praisonaiagents
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PraisonAI是Mervin Praison个人开发者的一个低代码多智能体协作框架。 PraisonAI 1.5.115之前版本存在安全漏洞,该漏洞源于沙箱属性列表不完整,可能导致绕过安全限制并执行任意代码。

CVSS 10.0 · Critical EPSS 0.61% · P47
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39888

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PraisonAIAgents has a sandbox escape via exception frame traversal in `execute_code` (subprocess mode)
Source: CVE Program / CVE List V5
Vulnerability Description
PraisonAI is a multi-agent teams system. Prior to 1.5.115, execute_code() in praisonaiagents.tools.python_tools defaults to sandbox_mode="sandbox", which runs user code in a subprocess wrapped with a restricted __builtins__ dict and an AST-based blocklist. The AST blocklist embedded inside the subprocess wrapper (blocked_attrs of python_tools.py) contains only 11 attribute names — a strict subset of the 30+ names blocked in the direct-execution path. The four attributes that form a frame-traversal chain out of the sandbox are all absent from the subprocess list (__traceback__, tb_frame, f_back, and f_builtins). Chaining these attributes through a caught exception exposes the real Python builtins dict of the subprocess wrapper frame, from which exec can be retrieved and called under a non-blocked variable name — bypassing every remaining security layer. This vulnerability is fixed in 1.5.115.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
违背安全设计原则
Source: CVE Program / CVE List V5
Vulnerability Title
PraisonAI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PraisonAI是Mervin Praison个人开发者的一个低代码多智能体协作框架。 PraisonAI 1.5.115之前版本存在安全漏洞,该漏洞源于沙箱属性列表不完整,可能导致绕过安全限制并执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
MervinPraison praisonaiagents < 1.5.115 -

II. Public POCs for CVE-2026-39888

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39888

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-39888 (1)

Same Patch Batch · MervinPraison · 2026-04-08 · 4 CVEs total

CVE-2026-39890 9.8 CRITICAL PraisonAI Affected by Remote Code Execution via YAML Deserialization in Agent Definition L
CVE-2026-39891 8.8 HIGH PraisonAI has a Template Injection in Agent Tool Definitions
CVE-2026-39889 7.5 HIGH PraisonAI has Unauthenticated SSE Event Stream Exposes All Agent Activity in A2U Server

IV. Related Vulnerabilities

V. Comments for CVE-2026-39888

No comments yet


Leave a comment