Skip to main content

Crewai CVE-2026-2287

| EUVDEUVD-2026-17123 CRITICAL
Code Injection (CWE-94)
2026-03-30 cret@cert.org
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send request to CrewAI application
  2. Delivery
    Docker daemon becomes unavailable or stops
  3. Exploit
    Application falls back to unsafe sandbox mode
  4. Execution
    Inject malicious code into task execution
  5. Impact
    Achieve remote code execution with full privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

CrewAI application with Docker configured as sandbox runtime. When Docker daemon stops or becomes unavailable during execution, CrewAI falls back to an insecure sandbox mode. Remote unauthenticated attacker can trigger RCE by submitting malicious input to CrewAI agents.

Impact

Although CVSS and EPSS scores are unavailable, this vulnerability carries substantial real-world risk due to several factors: (1) the silent fallback behavior means compromised systems may not be detected or logged appropriately; (2) Docker availability is often assumed in infrastructure, making the fallback path exploitable in edge cases (daemon crashes, container restarts, network degradation); (3) the vulnerability requires only runtime conditions to trigger, not specific attacker capabilities; (4) RCE in an agent framework-which by design executes user-provided or dynamically generated code-is particularly severe; (5) CrewAI's integration into AI/ML pipelines suggests potential for high-impact lateral movement. The lack of CVSS data prevents quantitative severity comparison, but the combination of automatic unsafe fallback, RCE impact, and agent-based architecture elevates this above typical CVSS-only assessment. This aligns with SSVC criteria for high technical impact and likely automatable exploitation.

Exploit ScenarioDerived

An attacker could induce Docker daemon failure on a system running CrewAI (e.g., via resource exhaustion, container escape, or misconfiguration), triggering the unsafe fallback sandbox mode. Once the application reverts to the weaker isolation mechanism, the attacker executes malicious instructions through CrewAI's agent interface or by poisoning the agent's task payload, achieving remote code execution with the privileges of the CrewAI process. In an AI/ML pipeline context, this could allow exfiltration of training data, model weights, or lateral movement within the infrastructure.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 30, 2026

CrewAI fails to validate Docker runtime availability during execution and silently reverts to an insecure sandbox mode, enabling remote code execution. Affected versions prior to the patch rely on Docker for isolation; when Docker becomes unavailable or is misconfigured, the fallback mechanism does not enforce adequate sandboxing constraints, allowing attackers to execute arbitrary commands within the application context. No CVSS score or official CVE details are available at this time, though the vulnerability has been reported to CERT and carries high practical risk due to the automatic unsafe fallback behavior.

RemediationAI

Upgrade CrewAI to the patched version released by the maintainers. Exact patched version numbers are not specified in the provided data; consult the CERT advisory (https://www.kb.cert.org/vuls/id/221883) and the CrewAI project repository for the minimum patched release. As an interim workaround, ensure Docker daemon is always running and healthily monitored before executing CrewAI agents; implement startup checks and runtime monitoring to detect Docker unavailability and fail-safe (do not fall back to sandbox mode). Additionally, run CrewAI agents within a restrictive container environment or with SELinux/AppArmor policies to constrain fallback execution. Review application logs and execution traces for evidence of sandbox fallback activation.

Affected VersionsENISA

CrewAI 1.0

Affected Packages

euvd crewai no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CrewAI is an agent framework that leverages containerization (Docker) as a primary security boundary for isolating agent execution environments. The vulnerability arises from insufficient runtime validation logic: the application does not robustly check Docker daemon status or container health before attempting to spawn isolated execution contexts. When Docker becomes unavailable-due to daemon crash, misconfiguration, or network partition-the code falls back to a less-restrictive sandbox mode without proper compensating controls. This fallback mechanism does not maintain the same isolation guarantees as the containerized execution path, effectively downgrading the security posture without user awareness. The root cause appears to be a missing or inadequate guard condition in the execution path selection logic (CWE class: improper input validation, error handling, or security control bypass).

Know when Crewai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

CrewAI does not properly check that Docker is still running during runtime, and will fall back to a sandbox setting that allows for RCE exploitation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy