PT-2026-7855 · Crawl4Ai · Crawl4Ai
Neo
·
Published
2026-01-16
·
Updated
2026-02-20
·
CVE-2026-26216
CVSS v3.1
10
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Crawl4AI versions prior to 0.8.0
Description
Crawl4AI is affected by a remote code execution issue in the Docker API deployment. The
/crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The inclusion of the import builtin within the allowed builtins enables unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation can lead to full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks. The /crawl API endpoint is vulnerable due to the acceptance of a hooks parameter. This parameter contains Python code that is executed using the exec() function. The import function was present in the allowed builtins, allowing attackers to import arbitrary modules and execute system commands. An example attack vector involves sending a POST request to the /crawl endpoint with a JSON payload containing malicious code within the hooks parameter.Recommendations
Versions prior to 0.8.0 should be upgraded to version 0.8.0.
If an immediate upgrade is not possible, disable the Docker API.
Alternatively, block the
/crawl endpoint at the network level.
Add authentication to the API.Fix
RCE
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Crawl4Ai