Path Traversal in Kidocode Crawl4ai
CVE-2026-57571
- CVSS v3
- 9.6 Critical
- Public exploits
- None known
- EPSS
- 0.008 · 57.8th percentile
- Published
- 2026-07-06
What to do
- Fixed in
0.9.0- Affected
- 2 affected products
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.008, 57.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kidocode Crawl4ai
- Unclecode Crawl4ai — versions < 0.9.0
Weakness classification (CWE)
References
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-2jq4-q6vv-4cp3 (Exploit, Mitigation, Vendor Advisory)
- https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2 (Patch)