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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-56839— PraisonAI Code agent tools fail open without a workspace boundary

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 是一个多智能体(multi-agent)团队系统。在 4.6.59 版本之前,CODE_TOOLS 包装器会将 保持为 ,并向 、 和 辅助函数传递 。这些辅助函数仅当 为真值(truthy,即非空)时才强制路径包含检查(path containment)。因此,如果在调用 之前暴露了 、 或 ,受提示词影响的调用就可能读取或修改预期项目目录之外的文件;而显式配置的工作空间仍然有效。该漏洞已在 4.6.59 版本中修复。

CVSS 7.3 · High

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56839

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 Code agent tools fail open without a workspace boundary
Source: CVE Program / CVE List V5
Vulnerability Description
PraisonAI is a multi-agent teams system. Prior to 4.6.59, the CODE_TOOLS wrappers keep _workspace_root as None and pass workspace=None to read_file, search_replace, and apply_diff helpers that enforce path containment only for a truthy workspace. An application that exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace can therefore let prompt-influenced calls read and modify files outside the intended project directory, while explicitly configured workspaces remain effective. This vulnerability is fixed in 4.6.59.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
MervinPraison PraisonAI < 4.6.59 -

II. Public POCs for CVE-2026-56839

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

登录查看更多情报信息。

Vendor Advisories for CVE-2026-56839 (1)

Vendor Pages for CVE-2026-56839 (1)

Same Patch Batch · MervinPraison · 2026-09-14 · 16 CVEs total

CVE-2026-57123 9.8 CRITICAL PraisonAI: MCP SSE transport binds 0.0.0.0 with no authentication and no Origin validation
CVE-2026-57124 9.8 CRITICAL PraisonAI UI MCP connect endpoint allows unauthenticated local command execution
CVE-2026-57125 9.8 CRITICAL PraisonAI: Unauthenticated RCE via Jobs API + Approval Bypass
CVE-2026-57127 9.8 CRITICAL praisonai: recipe serve auth middleware silently disables itself when no secret is set
CVE-2026-57131 9.8 CRITICAL praisonai: Jobs API exposes agent-execution endpoints with no authentication
CVE-2026-57145 9.1 CRITICAL PraisonAI: Arbitrary File Read/Write via `multiedit` Tool Without Path Validation
CVE-2026-57122 8.6 HIGH PraisonAI: Webhook signature verification skipped (fail-open) when secret unset, allowing
CVE-2026-57126 8.5 HIGH praisonaiagents: SSRF guard validates literal IPs only and never resolves DNS
CVE-2026-57132 8.2 HIGH PraisonAI: PRAISONAI_CALL_AUTH=disabled environment variable unconditionally disables auth
CVE-2026-57130 8.1 HIGH PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters
CVE-2026-57119 7.5 HIGH PraisonAI: Unauthenticated Local File Inclusion via agent_file path in the Jobs API
CVE-2026-57129 7.5 HIGH PraisonAI: Arbitrary File Read via `@file:` Mention Path Traversal
CVE-2026-57115 6.5 MEDIUM PraisonAI: SpiderTools redirect-target SSRF protection bypass
CVE-2026-57120 6.5 MEDIUM PraisonAI: execute_code sandbox bypass: str.format C-level attribute access reads every bl
CVE-2026-57128 4.3 MEDIUM PraisonAI: Unauthenticated Event Injection via SSE `/publish` Endpoint

IV. Related Vulnerabilities

V. Comments for CVE-2026-56839

No comments yet


Leave a comment