Artificial Intelligence

CrewAI Vulnerabilities Expose Devices to Hacking

Attackers can exploit the bugs through prompt injection, chaining them together to escape the sandbox and execute arbitrary code.

AI attack

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

Related Content

Mobile & Wireless

Affecting the open source calling library RingRTC, the bug prevented calls from ending properly.

Vulnerabilities

Patched vulnerabilities could allow attackers to execute code, elevate privileges, and leak sensitive information.

Vulnerabilities

Critical-severity security defects could lead to command execution, authentication bypass, and XSS attacks.

Vulnerabilities

Nearly 100 vulnerabilities have been assigned a critical severity rating and Fusion Middleware received the most patches.

Vulnerabilities

Several cybersecurity companies saw exploitation attempts of CVE-2026-109618 and CVE-2026-109619 before PHP released the patches.

Artificial Intelligence

Deceptive prompts lure AI agents into decoys and dead ends, cutting attack success by up to 91% in tests and raising the cost of...

Cybersecurity Funding

Asymptote Labs raises $5.5M seed led by Tower Research Ventures to commercialize its Beacon AI agent runtime security platform.

Vulnerabilities

The update fixes 353 flaws, including 163 memory corruption and 125 use-after-free vulnerabilities.

Copyright © 2026 SecurityWeek ®, a Wired Business Media Publication. All Rights Reserved.

Exit mobile version