What’s Vulnerable › Vulnerabilities
CVE-2026-57571: Crawl4AI arbitrary file write via download filename path traversal
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-06 · updated 2026-10-25
- Weakness: CWE-22
Description
Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, when the crawler saves a downloaded file, the destination filename was taken from attacker-influenced input and joined to the downloads directory with no confinement. A filename containing an absolute path or traversal escaped the downloads directory, giving an arbitrary file write with attacker-controlled contents; the HTTP crawler path uses the response Content-Disposition filename and the browser crawler path uses the download's suggested filename. Because the written bytes are attacker-controlled, this can escalate to remote code execution. This issue is fixed in version 0.9.0.
Affected products
- unclecode crawl4ai: before 0.9.0 — fixed in 0.9.0
How to fix
Upgrade to a fixed version: unclecode crawl4ai 0.9.0. Check the vendor advisory for mitigations.
References
- https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-2jq4-q6vv-4cp3
Get alerted when CVE-2026-57571 or the next vulnerability affects your stack