{"id":"CVE-2026-57573","aliases":["CVE-2026-57573","GHSA-wm69-2pc3-rmmf","PYSEC-2026-2140"],"related":[],"kind":"vulnerability","state":"published","title":"Crawl4AI unauthenticated SSRF in Docker streaming crawl endpoint","summary":"Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server applied its SSRF destination check on the non-streaming /crawl path but not on the streaming path. handle_stream_crawl_request passed seed URLs straight to the crawler with no destination validation, allowing a remote unauthenticated client to call POST /crawl/stream or POST /crawl with crawler_config.stream=true with a URL pointing at an internal, private, or link-local address; the server fetched it and streamed the response body back. This issue is fixed in version 0.9.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server applied its SSRF destination check on the non-streaming /crawl path but not on the streaming path. handle_stream_crawl_request passed seed URLs straight to the crawler with no destination validation, allowing a remote unauthenticated client to call POST /crawl/stream or POST /crawl with crawler_config.stream=true with a URL pointing at an internal, private, or link-local address; the server fetched it and streamed the response body back. This issue is fixed in version 0.9.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe Docker API server applied its SSRF destination check (`validate_url_destination`) on the non-streaming `/crawl` path but not on the streaming path. `handle_stream_crawl_request` passed seed URLs straight to the crawler with no destination validation. A remote, unauthenticated client could call `POST /crawl/stream` (or `POST /crawl` with `crawler_config.stream=true`, which short-circuits to the same handler) with a URL pointing at an internal, private, or link-local address; the server fetched it and streamed the response body back. The Docker API is unauthenticated by default.\n\n### Affected paths\n\n`POST /crawl/stream`, and `POST /crawl` with `crawler_config.stream=true` (both route to `handle_stream_crawl_request`, `deploy/docker/api.py`).\n\n### Impact\n\nUnauthenticated read server-side request forgery: an attacker reads internal-only services and cloud-metadata endpoints (e.g. `http://169.254.169.254/` for IAM credentials), with the response body streamed back. This is the same class and severity as the project's prior \"SSRF via Direct Crawl Endpoints\" advisory; `/crawl/stream` is part of that endpoint family and was never covered by the destination check.\n\n### Fix\n\n`handle_stream_crawl_request` now validates every seed URL's destination with the same global-routability check as `handle_crawl_request`, before any fetch. The SSRF regression test was hardened to assert per-handler coverage (including the streaming handler) rather than a bare occurrence count, which previously let this gap pass.\n\n### Workarounds\n\n- Upgrade to the patched version (0.9.0).\n- Enable authentication and restrict who can reach the API (note: this does not constrain which URL the API fetches).\n- Restrict the container's outbound network access (egress firewall / no metadata route).\n\n### Credits\n\nKOH Jun Sheng - reported the streaming-path SSRF with a runnable PoC and noted the count-based regression test that masked it, plus the shared root cause with redirect/deep-crawl link following.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Crawl4AI es un rastreador y raspador web de código abierto compatible con LLM. Antes de 0.9.0, el servidor API de Docker aplicaba su verificación de destino SSRF en la ruta /crawl no de transmisión, pero no en la ruta de transmisión. handle_stream_crawl_request pasaba las URL semilla directamente al rastreador sin validación de destino, permitiendo a un cliente remoto no autenticado llamar a POST /crawl/stream o POST /crawl con crawler_config.stream=true con una URL apuntando a una dirección interna, privada o de enlace local; el servidor la recuperaba y transmitía el cuerpo de la respuesta de vuelta. Este problema se ha corregido en la versión 0.9.0.","source":"nvd"}],"published":"2026-06-18T17:25:50.000Z","modified":"2026-10-25T20:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 0.9.0","status":"affected"}],"vendor":"unclecode","product":"crawl4ai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"PyPI","package":"crawl4ai","purl":"pkg:pypi/crawl4ai","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.9.0"}],"vendor":"kidocode","product":"crawl4ai","cpe":"cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"PyPI","package":"crawl4ai","purl":"pkg:pypi/crawl4ai","source":"pysec"}],"references":[{"url":"https://github.com/unclecode/crawl4ai/security/advisories/GHSA-wm69-2pc3-rmmf","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2","tags":["fix","patch","x-refsource-misc"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/unclecode/crawl4ai","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-07T14:16:11.413Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-57573","url":"https://www.cve.org/CVERecord?id=CVE-2026-57573","licence":"CVE Terms of Use","modified":"2026-07-07T14:16:25.619Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wm69-2pc3-rmmf","url":"https://github.com/advisories/GHSA-wm69-2pc3-rmmf","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:30.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-57573","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57573","licence":"Public domain","modified":"2026-10-25T20:10:00.147Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2140","url":"https://osv.dev/vulnerability/PYSEC-2026-2140","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:23.192Z"}],"updatedAt":"2026-11-25T22:59:27.264Z","epss":{"score":0.00917,"percentile":0.61253,"date":"2026-12-01T12:00:22.000Z"}}