{"id":"CVE-2026-57571","summary":"Crawl4AI arbitrary file write via download filename path traversal","details":"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.","aliases":["GHSA-2jq4-q6vv-4cp3","PYSEC-2026-2138"],"modified":"2026-07-15T01:49:07.123269521Z","published":"2026-07-06T20:09:52.251Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57571.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-59"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57571.json"},{"type":"ADVISORY","url":"https://github.com/unclecode/crawl4ai/security/advisories/GHSA-2jq4-q6vv-4cp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57571"},{"type":"FIX","url":"https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/unclecode/crawl4ai","events":[{"introduced":"0"},{"fixed":"c66f3276fd355031c8632500911fe7041ad6fc14"},{"fixed":"60886d1a0c52682e4c83a7cef9dfac417fff6bd2"}],"database_specific":{"cpe":"cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.9.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v0.8.9","docker-rebuild-v0.8.9","v0.8.8","docker-rebuild-v0.8.8","v0.8.7","docker-rebuild-v0.8.7","docker-rebuild-v0.8.6","v0.8.6","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","vr0.6.3","v0.6.3","vr0.6.0","vr0.6.0rc1","v0.5.0.post1","v0.4.243","v0.4.24","v0.3.745","v.3.72","v0.3.6","0.3.4","v0.3.3","v0.3.0","v0.2.77","v0.0.75","v0.2.74","v0.2.73","v0.2.72","v0.2.71","v0.2.7","v0.2.6","v0.2.4","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57571.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}