利用四个 CrewAI 漏洞链式攻击实现沙箱逃逸与远程代码执行
好的,我现在需要帮用户总结一篇文章的内容,控制在100字以内,而且不需要用“文章内容总结”之类的开头。首先,我得仔细阅读用户提供的文章内容。 文章主要讲的是CrewAI这个开源的多智能体编排框架存在四个漏洞,这些漏洞可以被威胁行为者利用来进行攻击,包括远程代码执行。这四个漏洞都是由Cyata的Yarden Porat发现的,涉及到Code Interpreter工具的安全问题。 接下来,我需要提取关键信息:CrewAI是什么?四个漏洞分别是什么?它们如何被利用?以及当前的修复情况。然后,我要把这些信息浓缩到100字以内,同时保持语句通顺。 可能会遇到的问题是如何在有限的字数内涵盖所有关键点。可能需要舍弃一些细节,比如每个CVE的具体编号或详细描述。重点放在漏洞的影响和修复措施上。 最后,确保总结直接描述文章内容,不使用任何开头语。这样用户就能快速了解文章的核心内容了。 </think> CrewAI框架存在四个安全漏洞,可被攻击者利用进行远程代码执行等攻击。这些漏洞与Code Interpreter工具相关,涉及沙箱逃逸、SSRF、文件读取等问题。开发者需限制工具使用、禁用危险配置并加强输入验证以缓解风险。 2026-3-31 13:37:30 Author: www.securityweek.com(查看原文) 阅读量:5 收藏

Threat actors can chain four vulnerabilities in CrewAI to perform various types of attacks, including remote code execution.

An open source multi-agent orchestration framework based on Python, CrewAI supports the creation of multi-agent AI systems that collaborate in completing specific tasks and workflows defined by developers.

The four issues, discovered by Yarden Porat of Cyata, are dependent on the use of the Code Interpreter tool, which enables users to execute Python code within a secure Docker container.

The first of the bugs, tracked as CVE-2026-2275, exists because the Code Interpreter tool falls back to SandboxPython when unable to access Docker.

If a flag that enables code execution is set in the agent configuration, or if a developer manually adds the Code Interpreter tool, this behavior could lead to code execution through arbitrary C function calls, a CERT/CC advisory explains.

Successful exploitation of the CVE could allow attackers to trigger the other three flaws, which are caused by improper default configuration settings.

Advertisement. Scroll to continue reading.

One of them, CVE-2026-2286, is described as a server-side request forgery (SSRF) bug that allows attackers to retrieve content from internal and cloud services. It exists because the RAG search tools fail to properly validate URLs provided at runtime.

Next is CVE-2026-2287, a bug caused by CrewAI failing to properly check if Docker is still running at runtime and falling back to a sandbox setting that enables remote code execution.

Finally, CVE-2026-2285 is an arbitrary local file read defect impacting the JSON loader tool, which does not validate paths when reading files, enabling access to arbitrary files on the server.

An attacker could chain the four issues by influencing a CrewAI agent that uses the Code Interpreter tool, through either direct or indirect prompt injections.

Successful exploitation of the security defects could allow attackers to escape the sandbox and execute code on the host machine or read files from its file system. The bugs could also be exploited to steal credentials.

While no patch has been released to fully address the vulnerabilities, CrewAI’s maintainers are working on solutions to address them through the blocking of certain modules, configuration changes to fail closed instead of falling back, clearer runtime warnings, and updated security-related documentation.

Removing or restricting the Code Interpreter tool, disabling the code execution flag unless necessary, limiting agent exposure to untrusted input and applying input sanitization, and preventing fallback to insecure sandbox modes should mitigate the bugs.

Related: Exploitation of Critical Fortinet FortiClient EMS Flaw Begins

Related: StrongSwan Flaw Allows Unauthenticated Attackers to Crash VPNs

Related: Oracle Releases Emergency Patch for Critical Identity Manager Vulnerability

Related: Critical ScreenConnect Vulnerability Exposes Machine Keys


文章来源: https://www.securityweek.com/crewai-vulnerabilities-expose-devices-to-hacking/
如有侵权请联系:admin#unsafe.sh