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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-34955— PraisonAI: Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox

CVSS 8.8 · High EPSS 0.02% · P4
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-34955

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: Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox
Source: NVD (National Vulnerability Database)
Vulnerability Description
PraisonAI is a multi-agent teams system. Prior to version 4.5.97, SubprocessSandbox in all modes (BASIC, STRICT, NETWORK_ISOLATED) calls subprocess.run() with shell=True and relies solely on string-pattern matching to block dangerous commands. The blocklist does not include sh or bash as standalone executables, allowing trivial sandbox escape in STRICT mode via sh -c '<command>'. This issue has been patched in version 4.5.97.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
PraisonAI 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PraisonAI是Mervin Praison个人开发者的一个低代码多智能体协作框架。 PraisonAI 4.5.97之前版本存在操作系统命令注入漏洞,该漏洞源于SubprocessSandbox在所有模式下均依赖字符串模式匹配来阻止危险命令,且阻止列表未包含sh或bash独立可执行文件,可能导致在STRICT模式下轻易逃逸沙箱。
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.5.97 -

II. Public POCs for CVE-2026-34955

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34955

登录查看更多情报信息。

Same Patch Batch · MervinPraison · 2026-04-03 · 10 CVEs total

CVE-2026-3493810.0 CRITICALPraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code
CVE-2026-349349.8 CRITICALPraisonAI: Second-Order SQL Injection in `get_all_user_threads`
CVE-2026-349359.8 CRITICALPraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()
CVE-2026-349529.1 CRITICALPraisonAI: Missing Authentication in WebSocket Gateway
CVE-2026-349539.1 CRITICALPraisonAI: Authentication Bypass in OAuthManager.validate_token()
CVE-2026-349548.6 HIGHPraisonAI: SSRF in FileTools.download_file() via Unvalidated URL
CVE-2026-349377.8 HIGHPraisonAI: Shell Injection in run_python() via Unescaped $() Substitution
CVE-2026-349367.7 HIGHPraisonAI: SSRF via Unvalidated api_base in passthrough() Fallback
CVE-2026-349396.5 MEDIUMPraisonAI: ReDoS via Unvalidated User-Controlled Regex in MCPToolIndex.search_tools()

IV. Related Vulnerabilities

V. Comments for CVE-2026-34955

No comments yet


Leave a comment