Skip to content

AAK-CREWAI-CHAIN-2026-04-001: CrewAI four-CVE exploit chain reachable in one module

Severity
CRITICAL
Category
Agent Config (agent-config)
Scanner
agent_audit_kit/scanners/crewai_rce_chain.py
Auto-fixable
No.
SARIF name
CrewAiFourCveChain

What it detects

Meta-rule: fires when all four CrewAI 0.x exploit-chain shapes are reachable in the same module — CVE-2026-2275 (CodeInterpreterTool unsafe_mode), CVE-2026-2285 (JSON loader path traversal), CVE-2026-2286 (RAG SSRF) and CVE-2026-2287 (missing Docker liveness gate). ThaiCERT 2026-04-02 + CERT/CC VU#221883 demonstrate that an untrusted prompt walks the chain to host RCE without further exploitation.

How to fix

Apply each child-rule's remediation. The single hardest gate is CVE-2026-2275 (CodeInterpreterTool unsafe_mode); fixing that one breaks the chain. The runtime helpers in agent_audit_kit.sanitizers.crewai collectively suppress all four sub-rules.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-CREWAI-CHAIN-2026-04-001

Limitations

Fires only when all four shapes (an unsafe-mode CodeInterpreterTool, a JSONSearchTool or JSONLoader path, a RagTool or WebsiteSearchTool URL, and a missing Docker check) are found in one file. The same shapes split across two modules are never reported as the chain, and a comment that mentions assert_codeinterp_safe_mode( removes one shape from the count. A Python file over 512 KB is not read.

References


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-CHAIN-2026-04-001.md: the page then shows that text, with the registry reference appended under it.