10.0critical
Crawl4AI: Unauthenticated RCE via Chromium launch-argument injection in browser_config.extra_args
- Severity
- 10.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-r253-r9jw-qg44PYSEC-2026-2139
Description
Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a child-process launch command together with --no-zygote, causing Chromium to fork or exec an attacker-controlled command as the container's runtime user. The Docker API is unauthenticated by default, so a single request yields arbitrary command execution. This issue is fixed in version 0.9.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| unclecode crawl4ai | < 0.9.0 | CVE List |
| crawl4ai (PyPI) | before 0.9.0 | GitHub Advisory Database, PyPA Advisory Database |
| kidocode crawl4ai | before 0.9.0 | NVD |
All scores
| GitHub_M | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| PyPA Advisory Database | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Classification
What each source says
CVE List
Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a child-process launch command together with --no-zygote, causing Chromium to fork or exec an attacker-controlled command as the container's runtime user. The Docker API is unauthenticated by default, so a single request yields arbitrary command execution. This issue is fixed in version 0.9.0.
GitHub Advisory Database
Summary
The Docker API server accepted a request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a child-process launch command (--utility-cmd-prefix, --renderer-cmd-prefix, --gpu-launcher, --browser-subprocess-path) together with --no-zygote, causing Chromium to fork/exec an attacker-controlled command as the container's runtime user. The Docker API is unauthenticated by default, so a single request yields arbitrary command execution.
The earlier extra_args SSRF patch (0.8.9) used a denylist scoped to proxy/DNS flags; a denylist of launch switches is inherently incomplete, and these command-execution switches were not covered.
Affected paths
/crawl, /crawl/stream, /crawl/job accepting a request browser_config.extra_args.
Impact
Unauthenticated remote code execution as the container runtime user; full read/write of application data, mounted secrets, environment, and tokens, and out-of-band exfiltration independent of the HTTP response.
Fix
0.9.0 establishes a trust boundary for request-supplied configuration: extra_args (along with other power fields such as proxy, user_data_dir, cdp_url, init_scripts) is a forbidden field for untrusted request bodies. Any request that sets extra_args is rejected with HTTP 400 rather than scrubbed against an always-incomplete denylist. In-process SDK callers (trusted) are unaffected.
Workarounds
- Upgrade to the patched version (0.9.0).
- Enable authentication (
CRAWL4AI_API_TOKEN) and restrict who can reach the API. - Run the container with a restrictive seccomp profile and no ability to exec helper binaries.
Credits
Y4tacker - reported the --no-zygote + --utility-cmd-prefix command-injection chain with a confirmed in-container PoC and an allowlist/reject recommendation.
UDU_RisePho (hoanggxyuuki) - independently reported the request-supplied Chromium launch-flag RCE class (--renderer-cmd-prefix), confirmed still reproducing on 0.8.9.
NVD (es)
Crawl4AI es un rastreador y extractor web de código abierto compatible con LLM. Antes de la versión 0.9.0, el servidor API de Docker aceptaba argumentos ’browser_config.extra_args’ proporcionados en la solicitud, que se pasaban a los argumentos de lanzamiento de Chromium. Un atacante podría inyectar conmutadores de Chromium que reemplazaran un comando de lanzamiento de proceso hijo junto con --no-zygote, haciendo que Chromium bifurcara o ejecutara un comando controlado por el atacante como el usuario en tiempo de ejecución del contenedor. La API de Docker no está autenticada por defecto, por lo que una única solicitud permite la ejecución arbitraria de comandos. Este problema está solucionado en la versión 0.9.0.
References
| https://github.com/unclecode/crawl4ai/security/advisories/GHSA-r253-r9jw-qg44 | advisory, mitigation, vendor-advisory, web | |
| https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2 | fix, patch | |
| https://github.com/unclecode/crawl4ai | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-57572 changed 2026-07-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r253-r9jw-qg44 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-57572 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2139 changed 2026-07-13 | CC-BY-4.0 |