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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-57142— PraisonAI recipe workflow policy can be bypassed by declaring and YAML-approving dangerous tools outside TEMPLATE.yaml

Quick assessment

Affected
MervinPraison PraisonAI
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 是一个多智能体团队协作系统。在 4.5.87 版本至 4.6.61 版本之前(不含 4.6.61),PraisonAI 的配方(recipe)执行机制中存在一项危险工具策略:该策略本应默认拒绝所有未明确允许的危险工具,除非调用方显式传入 。然而,该策略仅检查 中 字段所声明的工具。 对于基于步骤(steps-based)的配方,实际执行路径会加载 文件,并由 解析。该解析器会解析智能体级别(agent-level)的 声明,并保留顶层的 配置。随后, 方法会将这些通过 YAML 批准的工具安装到

CVSS 7.8 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
MervinPraison PraisonAI >= 4.5.87, < 4.6.61 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-57142

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 recipe workflow policy can be bypassed by declaring and YAML-approving dangerous tools outside TEMPLATE.yaml
Source: CVE Program / CVE List V5
Vulnerability Description
PraisonAI is a multi-agent teams system. From version 4.5.87 to before version 4.6.61, PraisonAI recipe execution has a dangerous-tool policy that is supposed to block default-denied tools unless the caller explicitly passes allow_dangerous_tools=True. That policy only checks tools declared in TEMPLATE.yaml requires.tools. For steps-based recipes, the actual execution path loads workflow.yaml with YAMLWorkflowParser. That parser resolves agent-level tools: declarations and preserves top-level approve:. Workflow.start() then installs those YAML-approved tools into the approval context. As a result, an untrusted recipe can omit execute_command from TEMPLATE.yaml requires.tools, declare it in workflow.yaml agents.*.tools, and add top-level approve: [execute_command]. The caller did not set allow_dangerous_tools=True, but the recipe policy allows the recipe and the workflow approval path self-approves the critical shell tool. This issue has been patched in version 4.6.61.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MervinPraison PraisonAI >= 4.5.87, < 4.6.61 -

II. Public POCs for CVE-2026-57142

# 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-57142

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

Vendor Advisories for CVE-2026-57142 (1)

Same Patch Batch · MervinPraison · 2026-10-23 · 16 CVEs total

CVE-2026-57116 9.8 CRITICAL PraisonAI: AgentOS remains unauthenticated after GHSA-pm96 patched version and allows remo
CVE-2026-56832 8.8 HIGH PraisonAI DiscordApproval accepts unrelated channel messages as dangerous-tool approvals
CVE-2026-56840 8.8 HIGH PraisonAI: HTTPApproval dashboard renders tool arguments as raw HTML, allowing approval-pa
CVE-2026-57117 8.8 HIGH PraisonAI: Compute-bridged file tools allow shell command injection
CVE-2026-57144 8.8 HIGH PraisonAI SandlockSandbox falls back to unrestricted subprocess execution when Landlock is
CVE-2026-56837 8.6 HIGH PraisonAI LinearBot processes unsigned webhooks when LINEAR_WEBHOOK_SECRET is missing
CVE-2026-56835 8.3 HIGH PraisonAI Slack app_mention bypasses configured user/channel authorization
CVE-2026-56836 8.2 HIGH PraisonAI recipe serve Typer command bypasses the non-localhost authentication guard
CVE-2026-57113 8.1 HIGH PraisonAI GitHub template cache path traversal allows outside-cache file write and directo
CVE-2026-57121 8.1 HIGH PraisonAI: Missing ownership check on DELETE endpoints allows members to delete others' co
CVE-2026-56838 7.8 HIGH PraisonAI recipe.run_stream skips dangerous-tool policy enforcement
CVE-2026-56833 7.5 HIGH PraisonAI Dynamic Context history and terminal tools read files outside configured storage
CVE-2026-56834 7.5 HIGH PraisonAI dynamic-context artifact tools read arbitrary host files outside artifact storag
CVE-2026-57146 7.5 HIGH PraisonAI A2U incomplete authentication fix leaves current serve command unauthenticated b
CVE-2026-57114 7.2 HIGH PraisonAI: Jobs webhook SSRF protection bypass via DNS rebinding

IV. Related Vulnerabilities

V. Comments for CVE-2026-57142

No comments yet


Leave a comment