漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/unclecode/crawl4ai/security/advisories/GHSA-5882-5rx9-xgxp↗www.vulncheck.comhttps://www.vulncheck.com/advisories/crawl4ai-docker-api-unauthenticated-remote-code-execution-via-hooks-parameter↗github.comhttps://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.8.0.md↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-26216↗