8.6high
Crawl4AI: SSRF via proxy settings in the Docker server bypasses the crawl-URL SSRF check
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.38% (higher than 72% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-6qhc-x826-342cPYSEC-2026-588
Description
Crawl4AI is an open-source LLM friendly web crawler & scraper. Prior to 0.8.9, the Docker API server applied its SSRF destination check to the crawl target URL only, not to the proxy address. An unauthenticated request could supply a proxy pointing at an internal IP and route the browser through it, reaching internal services and cloud-metadata endpoints, while using a perfectly valid crawl URL. The Docker API is unauthenticated by default. /crawl, /crawl/stream, and /crawl/job accept a browser_config (and crawler_config). The following all feed Chromium's egress and were unchecked: browser_config.proxy_config.server, browser_config.proxy (deprecated field), crawler_config.proxy_config.server, and --proxy-server / --proxy-pac-url / --proxy-bypass-list / --host-resolver-rules flags in browser_config.extra_args. This vulnerability is fixed in 0.8.9.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| unclecode crawl4ai | < 0.8.9 | CVE List |
| crawl4ai (PyPI) | before 0.8.9 | GitHub Advisory Database, PyPA Advisory Database |
| kidocode crawl4ai | before 0.8.9 | NVD |
All scores
| GitHub_M | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Crawl4AI is an open-source LLM friendly web crawler & scraper. Prior to 0.8.9, the Docker API server applied its SSRF destination check to the crawl target URL only, not to the proxy address. An unauthenticated request could supply a proxy pointing at an internal IP and route the browser through it, reaching internal services and cloud-metadata endpoints, while using a perfectly valid crawl URL. The Docker API is unauthenticated by default. /crawl, /crawl/stream, and /crawl/job accept a browser_config (and crawler_config). The following all feed Chromium's egress and were unchecked: browser_config.proxy_config.server, browser_config.proxy (deprecated field), crawler_config.proxy_config.server, and --proxy-server / --proxy-pac-url / --proxy-bypass-list / --host-resolver-rules flags in browser_config.extra_args. This vulnerability is fixed in 0.8.9.
GitHub Advisory Database
Summary
The Docker API server applied its SSRF destination check to the crawl target URL only, not to the proxy address. An unauthenticated request could supply a proxy pointing at an internal IP and route the browser through it, reaching internal services and cloud-metadata endpoints, while using a perfectly valid crawl URL. The Docker API is unauthenticated by default.
Affected paths
/crawl, /crawl/stream, and /crawl/job accept a browser_config (and crawler_config). The following all feed Chromium's egress and were unchecked:
browser_config.proxy_config.serverbrowser_config.proxy(deprecated field)crawler_config.proxy_config.server--proxy-server/--proxy-pac-url/--proxy-bypass-list/--host-resolver-rulesflags inbrowser_config.extra_args
Attack
An attacker sends /crawl with a benign, validation-passing URL but a proxy_config.server pointing at an internal IP. Chromium routes all requests through that proxy. For plain-HTTP targets the proxy receives the full request and can return any content, which is then returned verbatim in the crawl result (results[0].html / cleaned_html / markdown). In a real deployment the proxy would be an attacker-controlled server pointing at cloud metadata (e.g. AWS IMDSv1 at 169.254.169.254) to retrieve IAM credential tokens.
Impact
Unauthenticated server-side request forgery to internal services and cloud-metadata endpoints, with the response returned to the attacker.
Fix
Every proxy destination is validated with the same global-routability check used for crawl URLs (reject any resolved address that is not is_global, including IPv6 transition forms) before the browser is constructed; proxy/DNS-redirecting flags are stripped from extra_args. A legitimate public proxy still works. Honors CRAWL4AI_ALLOW_INTERNAL_URLS.
Workarounds
- Upgrade to the patched version (0.8.9).
- Enable authentication (
CRAWL4AI_API_TOKEN). - Restrict the container's outbound network access (egress firewall / no metadata route).
Credits
Geo (geo-chen) - reported the proxy_config.server SSRF with a clear PoC.
NVD (es)
Crawl4AI es un rastreador y extractor web de código abierto compatible con LLM. Antes de la versión 0.8.9, el servidor API de Docker aplicaba su verificación de destino SSRF solo a la URL objetivo de rastreo, no a la dirección del proxy. Una solicitud no autenticada podría proporcionar un proxy que apunte a una IP interna y enrutar el navegador a través de él, alcanzando servicios internos y puntos finales de metadatos en la nube, mientras se utilizaba una URL de rastreo perfectamente válida. La API de Docker no está autenticada por defecto. /crawl, /crawl/stream y /crawl/job aceptan una browser_config (y crawler_config). Los siguientes alimentaban la salida de Chromium y no se verificaban: browser_config.proxy_config.server, browser_config.proxy (campo obsoleto), crawler_config.proxy_config.server, y los flags --proxy-server / --proxy-pac-url / --proxy-bypass-list / --host-resolver-rules en browser_config.extra_args. Esta vulnerabilidad está corregida en la versión 0.8.9.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-53755 changed 2026-06-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6qhc-x826-342c changed 2026-07-20 | CC-BY-4.0 |
| NVD | CVE-2026-53755 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-588 changed 2026-06-30 | CC-BY-4.0 |