Crawl4AI < 0.8.0 Docker API Unauthenticated Remote Code Execution via Hooks Parameter
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.
CVE-2026-26216
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-26216
Crawl4AI
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/unclecode/crawl4ai",
"vendor": "unclecode",
"product": "Crawl4AI",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "0.8.0",
"versionType": "semver"
}
],
"packageURL": "pkg:pypi/crawl4ai",
"packageName": "crawl4ai",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-26216
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #12703 · Revision 1
- Added to Heist Feed
- Publisher date