# CVE-2026-57571: Crawl4AI arbitrary file write via download filename path traversal

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T17:25:13.000Z
- Modified: 2026-10-25T20:10:00.147Z
- Also known as: GHSA-2jq4-q6vv-4cp3, PYSEC-2026-2138
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- unclecode crawl4ai: < 0.9.0
- crawl4ai (PyPI): before 0.9.0
- kidocode crawl4ai: before 0.9.0

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/unclecode/crawl4ai/security/advisories/GHSA-2jq4-q6vv-4cp3> (exploit, evidence, mitigation, vendor-advisory, web)
- <https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2> (fix, patch)
- <https://github.com/unclecode/crawl4ai> (package)

## Sources

- CVE List: [CVE-2026-57571](https://www.cve.org/CVERecord?id=CVE-2026-57571), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-2jq4-q6vv-4cp3](https://github.com/advisories/GHSA-2jq4-q6vv-4cp3), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-57571](https://nvd.nist.gov/vuln/detail/CVE-2026-57571), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2138](https://osv.dev/vulnerability/PYSEC-2026-2138), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-57571 · Whole record: https://cve.day/CVE-2026-57571.json · Rebuilt by cve.day 2026-11-25T22:59:27.263Z
