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.
References (3)
Core 3
Core References
Vendor Advisory vendor-advisory
patch
https://github.com/unclecode/crawl4ai/security/advisories/GHSA-5882-5rx9-xgxp
Various Sources release-notes
https://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.8.0.md
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/crawl4ai-docker-api-unauthenticated-remote-code-execution-via-hooks-parameter
Scores
CVSS v3
10.0
EPSS
0.0032
EPSS Percentile
54.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-94
Status
published
Products (2)
kidocode/crawl4ai
< 0.8.0
pypi/Crawl4AI
0 - 0.8.0PyPI
Published
Feb 12, 2026
Tracked Since
Feb 18, 2026