AAK-CREWAI-CVE-2026-2287-001: CrewAI sandbox fallback without Docker liveness check
- Severity
- CRITICAL
- Category
- Agent Config (
agent-config) - Scanner
agent_audit_kit/scanners/crewai_rce_chain.py- Auto-fixable
- No.
- SARIF name
CrewAiDockerLivenessMissing
What it detects
CodeInterpreterTool(...) does not gate execution on a Docker liveness check (docker_required=True is unset and require_docker_liveness(client) is not called). A dead Docker daemon silently falls back to the host Python interpreter, completing the chain to host RCE (CVE-2026-2287, CWE-94, CVSS 9.8 CRITICAL per NVD).
How to fix
Either set docker_required=True on CodeInterpreterTool or call agent_audit_kit.sanitizers.crewai.require_docker_liveness(client) in the same function — the helper raises before the tool ever sees the host fallback.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-CREWAI-CVE-2026-2287-001
Limitations
Fires on every CodeInterpreterTool(...) call that has no literal docker_required=True and no require_docker_liveness( in the enclosing function. That text is matched as source, so a comment that mentions require_docker_liveness( silences it. A Python file over 512 KB is not read.
References
- CVE: CVE-2026-2287
- OWASP Agentic Top 10: ASI05 (Unexpected Code Execution (RCE))
- Incidents and advisories: CERT-CC-VU-221883
- CSA AI Controls Matrix (AICM): AIS-07, IVS-04
All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-CREWAI-CVE-2026-2287-001.md: the page then shows that text, with the registry reference appended under it.