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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-47398— PraisonAI: Arbitrary code execution via unguarded `spec.loader.exec_module` in `agents_generator.py` - sibling of CVE-2026-44334

Quick assessment

Affected
MervinPraison PraisonAI
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mervin Praison PraisonAI是Mervin Praison个人开发者开源的一个低代码多智能体协作框架。 Mervin Praison PraisonAI 4.6.40之前版本存在安全漏洞,该漏洞源于praisonai/agents_generator.py中缺失了对spec.loader.exec_module调用站点的验证,允许从YAML配置获取的module_path参数未经验证、签名检查或环境变量门控直接执行,可能导致代码注入。

CVSS 8.1 · High EPSS 0.57% · P45

Affected Version Matrix 1

VendorProduct Version RangeStatus
MervinPraison PraisonAI < 4.6.40 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-47398

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: Arbitrary code execution via unguarded `spec.loader.exec_module` in `agents_generator.py` - sibling of CVE-2026-44334
Source: CVE Program / CVE List V5
Vulnerability Description
PraisonAI is a multi-agent teams system. The v4.6.32 chokepoint refactor (which patched CVE-2026-44334 / GHSA-xcmw-grxf-wjhj) added the PRAISONAI_ALLOW_LOCAL_TOOLS env-var gate to the tool_override.py sinks. However, two additional spec.loader.exec_module call sites in praisonai/agents_generator.py were missed and remain completely unguarded in versions prior to 4.6.40. Both functions accept a module_path parameter sourced from YAML configuration and execute it without validation, signature checking, or the env-var gate. Version 4.6.40 fixes the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/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之前版本存在安全漏洞,该漏洞源于praisonai/agents_generator.py中缺失了对spec.loader.exec_module调用站点的验证,允许从YAML配置获取的module_path参数未经验证、签名检查或环境变量门控直接执行,可能导致代码注入。
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

Vendor Product Affected Versions CPE Subscribe
MervinPraison PraisonAI < 4.6.40 -

II. Public POCs for CVE-2026-47398

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: spec.loader.exec_module ran attacker module_path; exfiltrated PROOF_624ed5312164f0db from /flag.txt via AgentsGenerator.load_tools_from_module[_class]
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 8623 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-47398

登录查看更多情报信息。

Patches & Fixes for CVE-2026-47398 (2)

Vendor Advisories for CVE-2026-47398 (1)

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

CVE-2026-47392 9.9 CRITICAL PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execu
CVE-2026-47393 9.8 CRITICAL PraisonAI `deploy --type api` emits a Flask server with authentication disabled by default
CVE-2026-47396 9.8 CRITICAL PraisonAI call server exposes unauthenticated agent listing, invocation, and deletion when
CVE-2026-47391 9.8 CRITICAL PraisonAI's unauthenticated A2A official example can reach real LLM-driven `eval()` tool e
CVE-2026-47410 9.8 CRITICAL praisonai-platform: JWT signing key defaults to hardcoded "dev-secret-change-me", allowing
CVE-2026-47413 9.6 CRITICAL praisonai-platform: Any workspace member can add arbitrary user as owner via POST /workspa
CVE-2026-47416 9.6 CRITICAL praisonai-platform: Any workspace member can promote themselves (or any other member) to o
CVE-2026-47405 8.8 HIGH PraisonAI Platform missing role checks let any workspace member become owner and take over
CVE-2026-47399 8.8 HIGH PraisonAI Platform workspace-scoped routes allow cross-workspace object access by global o
CVE-2026-47415 8.3 HIGH praisonai-platform: Issue endpoints accept any issue_id without workspace ownership check,
CVE-2026-47419 8.3 HIGH praisonai-platform: Agent endpoints accept any agent_id without workspace ownership check,
CVE-2026-47409 8.1 HIGH praisonai-platform: Any workspace member can remove any other member (including the owner)
CVE-2026-47417 8.1 HIGH praisonai-platform: Comment endpoints accept any issue_id without workspace ownership chec
CVE-2026-47412 8.1 HIGH praisonai-platform: Any workspace member can delete the entire workspace via DELETE /works
CVE-2026-47418 8.1 HIGH praisonai-platform: Project endpoints accept any project_id without workspace ownership ch
CVE-2026-47406 8.1 HIGH praisonai-platform: Dependency endpoints accept any issue_id and dep_id without workspace
CVE-2026-47414 7.6 HIGH praisonai-platform: Label endpoints accept any label_id and any issue_id without workspace
CVE-2026-47397 7.1 HIGH PraisonAI has an Arbitrary File Write in Python API
CVE-2026-47408 6.5 MEDIUM praisonai-platform: list_issue_activity returns activity log for any issue regardless of w
CVE-2026-47411 6.5 MEDIUM praisonai-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-47398

No comments yet


Leave a comment