CVE-2026-37008 Details
Description
CrewAI before fb2323b offers a Python blocklist approach that operates at the wrong level of abstraction, a different vulnerability than CVE-2026-2275. Import-time blocking of module names does not address the availability of Python's complete object graph. For example, calling ctypes.CDLL(None) loads the C library without relying in any import statements. In other words, a within-process sandbox cannot merely account for the import system and instead must account for the complete runtime of the Python interpreter.
A sandbox escape vulnerability has been identified in CrewAI's Code Interpreter Tool, prior to the fix in commit fb2323b. When Docker is unavailable, the tool falls back to a Python-based restricted sandbox that can be easily bypassed. This sandbox does not block access to the 'ctypes' module, allowing an attacker to import 'ctypes', load the C library, and execute arbitrary commands on the host system. The vulnerability arises because the sandboxing approach operates at the wrong level of abstraction, failing to account for the entire Python runtime environment.
The vulnerability has been fixed in CrewAI version 1.15.22. Users should update to this version. For environments where Docker cannot be used, the 'unsafe_mode=True' option can be enabled, but this is not recommended due to the associated security risks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 13, 2026CISA-ADP
Assessed Sep 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://yerangamage.com/cves/detail/?slug=crewai-sandbox-escape | CISA-ADP | AdvisoryExploitRemedyTechnical Analysis |
| https://docs.python.org/3/library/ctypes.html | [email protected] | Not Applicable |
| https://github.com/crewAIInc/crewAI/commit/fb2323b3deb3ec62b3965526857e77a2264e4cd0 | [email protected] | Source CodeVendor |
| https://yerangamage.com/cves/detail/?slug=crewai-sandbox-escape | [email protected] | AdvisoryExploitRemedyTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-424 | Improper Protection of Alternate Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| crewAI | All versions |
CPE
Remediation
| |
| crewAI-tools | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | CISA-ADP |
| Sep 13, 2026 | New CVE Received | [email protected] |
Volerion