Skip to content
HighVulnerability

GHSA-wm69-2pc3-rmmf: Crawl4AI: Unauthenticated SSRF on the Docker server streaming crawl path (/crawl/stream)

Published
Record updated
View JSON
Affected
  • crawl4ai <= 0.8.9
Fixed in
0.9.0
  • released June 18, 2026, on the day of disclosure

Summary

Crawl4AI's Docker API server applied its SSRF destination check on the non-streaming /crawl path but not on the streaming path, where handle_stream_crawl_request passed seed URLs straight to the crawler. An unauthenticated remote client calling POST /crawl/stream, or POST /crawl with crawler_config.stream=true, can make the server fetch internal, private or link-local addresses and stream the response body back. The flaw is an unauthenticated read SSRF of the same class as the project's prior advisory.

Mitigation

Fixed in 0.9.0: handle_stream_crawl_request now validates every seed URL's destination with the same global-routability check as handle_crawl_request before any fetch. Workarounds: enable authentication and restrict who can reach the API (this does not constrain which URL is fetched), and restrict the container's outbound network access via an egress firewall or no metadata route.