Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed builtins, allowing unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation allows full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks.
Fix
Public exploits 1
- joaovicdev/EXPLOIT-CVE-2026-26216 PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-5882-5rx9-xgxp Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 10.0 · kidocodeNVD modified 2026-10-08 16:17
Affected (CPE criteria) 1
cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*
References 3
- https://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.8.0.md Release Notes
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-5882-5rx9-xgxp Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/crawl4ai-docker-api-unauthenticated-remote-code-execution-via-hooks-parameter Third Party Advisory