Loading advisory.
Loading advisory.
Crawl4AI: SSRF via proxy settings in the Docker server bypasses the crawl-URL SSRF check
The Docker API server applied its SSRF destination check to the crawl target URL only, not to the proxy address.
Published 2026-06-16 21:02 UTC · Modified 2026-07-20 21:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| crawl4ai | PyPI | < 0.8.9 versions 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.71, 0.3.72, 0.3.73, 0.3.731, 0.3.74, 0.3.741, 0.3.742, 0.3.743, 0.3.744, 0.3.745, 0.3.746, 0.3.8 and 46 more | 0.8.9 | pip install --upgrade 'crawl4ai>=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
--proxy-server / --proxy-pac-url / --proxy-bypass-list / --host-resolver-rules flags in browser_config.extra_args
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.
Unauthenticated server-side request forgery to internal services and cloud-metadata endpoints, with the response returned to the attacker.
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.
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).
Geo (geo-chen) - reported the proxy_config.server SSRF with a clear PoC.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
One EPSS score on record: 0.016 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.016 | first score | v2026.06.15 |