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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-47392— PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)

CVSS 9.9 · Critical EPSS 0.60% · P45

Affected Version Matrix 2

VendorProductVersion RangeStatus
MervinPraison< 1.6.40praisonaiagentsaffected
MervinPraisonPraisonAI< 4.6.40affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-47392

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
PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)
Source: CVE Program / CVE List V5
Vulnerability Description
PraisonAI is a multi-agent teams system. Prior to version 4.6.40 of PraisonAI, corresponding to version 1.6.40 of praisonaiagents, `execute_code()` in `praisonaiagents/tools/python_tools.py` (v1.6.37, subprocess sandbox mode) can be fully bypassed using `print.__self__` to retrieve the real Python `builtins` module, from which `__import__` can be extracted via `vars()` and runtime string construction. This achieves arbitrary OS command execution on the host, completely defeating the sandbox. This is a novel bypass that survives all patches for CVE-2026-39888 (frame traversal), CVE-2026-34938 (str subclass), and CVE-2026-40158 (`type.__getattribute__` trampoline). PraisonAI version 4.6.40 and praisonaiagents version 1.6.40 contain an updated fix.
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
Mervin Praison PraisonAI 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mervin Praison PraisonAI是Mervin Praison个人开发者开源的一个低代码多智能体协作框架。 Mervin Praison PraisonAI 4.6.40之前版本存在安全漏洞,该漏洞源于`execute_code()`函数可被绕过,通过`print.__self__`获取Python `builtins`模块,进而提取`__import__`实现任意操作系统命令执行。
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)

Affected Products

VendorProductAffected VersionsCPESubscribe
MervinPraisonPraisonAI < 4.6.40 -
MervinPraison< 1.6.40 praisonaiagents -

II. Public POCs for CVE-2026-47392

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 7822 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-47392

登录查看更多情报信息。

Vendor Advisories for CVE-2026-47392 (1)

Same Patch Batch · MervinPraison · 2026-07-21 · 25 CVEs total

CVE-2026-473939.8 CRITICALPraisonAI `deploy --type api` emits a Flask server with authentication disabled by default
CVE-2026-473969.8 CRITICALPraisonAI call server exposes unauthenticated agent listing, invocation, and deletion when
CVE-2026-473919.8 CRITICALPraisonAI's unauthenticated A2A official example can reach real LLM-driven `eval()` tool e
CVE-2026-474109.8 CRITICALpraisonai-platform: JWT signing key defaults to hardcoded "dev-secret-change-me", allowing
CVE-2026-474139.6 CRITICALpraisonai-platform: Any workspace member can add arbitrary user as owner via POST /workspa
CVE-2026-474169.6 CRITICALpraisonai-platform: Any workspace member can promote themselves (or any other member) to o
CVE-2026-474058.8 HIGHPraisonAI Platform missing role checks let any workspace member become owner and take over
CVE-2026-473998.8 HIGHPraisonAI Platform workspace-scoped routes allow cross-workspace object access by global o
CVE-2026-474158.3 HIGHpraisonai-platform: Issue endpoints accept any issue_id without workspace ownership check,
CVE-2026-474198.3 HIGHpraisonai-platform: Agent endpoints accept any agent_id without workspace ownership check,
CVE-2026-474098.1 HIGHpraisonai-platform: Any workspace member can remove any other member (including the owner)
CVE-2026-474178.1 HIGHpraisonai-platform: Comment endpoints accept any issue_id without workspace ownership chec
CVE-2026-474128.1 HIGHpraisonai-platform: Any workspace member can delete the entire workspace via DELETE /works
CVE-2026-474188.1 HIGHpraisonai-platform: Project endpoints accept any project_id without workspace ownership ch
CVE-2026-474068.1 HIGHpraisonai-platform: Dependency endpoints accept any issue_id and dep_id without workspace
CVE-2026-473988.1 HIGHPraisonAI: Arbitrary code execution via unguarded `spec.loader.exec_module` in `agents_gen
CVE-2026-474147.6 HIGHpraisonai-platform: Label endpoints accept any label_id and any issue_id without workspace
CVE-2026-473977.1 HIGHPraisonAI has an Arbitrary File Write in Python API
CVE-2026-474086.5 MEDIUMpraisonai-platform: list_issue_activity returns activity log for any issue regardless of w
CVE-2026-474116.5 MEDIUMpraisonai-platform: Any workspace member can rewrite workspace name, description, and sett

Showing top 20 of 25 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-47392

No comments yet


Leave a comment