CVE-2026-57571: Crawl4AI arbitrary file write via download filename path traversal
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Crawl4AI arbitrary file write via download filename path traversalto a version that resolves this vulnerability.Fixed in 0.9.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-57571?
The severity of CVE-2026-57571 is critical, with a CVSS score of 9.6.
How do I fix CVE-2026-57571?
To fix CVE-2026-57571, update Crawl4AI to version 0.9.0 or later, which addresses the path traversal vulnerability.
What is CVE-2026-57571?
CVE-2026-57571 is a vulnerability in Crawl4AI that allows arbitrary file write via download filename path traversal.
What impact does CVE-2026-57571 have?
CVE-2026-57571 can lead to unauthorized file creation and potential system compromise if exploited.
Who is affected by CVE-2026-57571?
Users of Crawl4AI versions prior to 0.9.0 are affected by CVE-2026-57571.