CVE-2026-37008 Code injection in CrewAI
Attackers can execute arbitrary code by bypassing CrewAI's import-based blocklist using Python's object graph, requiring a patch to secure the sandbox.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-37008?
CVE-2026-37008 is a high-severity code injection vulnerability in CrewAI, published on 13 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-424
Which versions are affected by CVE-2026-37008?
How do I fix CVE-2026-37008?
No fix has been published for CVE-2026-37008 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-37008 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-37008 exists.
Sources
Also known as GHSA-2q68-3cp7-72v9.