Skip to content
OpenAdvisories
Critical · 9.6 CVE-2026-57571 EUVD-2026-41934GHSA-2jq4-q6vv-4cp3PYSEC-2026-2138

Crawl4AI arbitrary file write via download filename path traversal

Published Jul 6, 2026 · Updated Jul 7, 2026 · 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.

Affected products

VendorProductAffectedFixed
unclecode crawl4ai < 0.9.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI crawl4ai < 0.9.0 0.9.0 GHSA-2jq4-q6vv-4cp3

References