Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| unclecode | Crawl4AI | < 0.8.0 |
References
- https://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.8.0.mdRelease Notes
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-5882-5rx9-xgxpMitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/crawl4ai-docker-api-unauthenticated-remote-code-execution-via-hooks-parameterThird Party Advisory
Timeline
- Published
- Feb 12, 2026
- Last modified
- Oct 8, 2026
- NVD status
- Analyzed