Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Remote attacker-controlled content with low complexity and no victim auth (PR:N) but requires the victim to crawl it (UI:R); arbitrary write outside the intended dir changes scope (S:C) and yields RCE, so C/I/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
Arbitrary file write in Crawl4AI (the open-source LLM-friendly web crawler by unclecode) before version 0.9.0 lets a malicious website or download control where crawled files land on disk, and because the file contents are also attacker-controlled this escalates to remote code execution. Both the HTTP crawler path (trusting the response Content-Disposition filename) and the browser crawler path (trusting the download's suggested filename) are affected. CVSS is 9.6 (Critical); no public exploit is identified at time of analysis and it is not listed in CISA KEV, but a fix commit and GHSA advisory are published.
Technical ContextAI
Crawl4AI is a Python web crawling/scraping library commonly embedded in LLM and RAG data-ingestion pipelines to fetch and store web content. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal): when saving a downloaded file, the destination filename is taken from attacker-influenced input and naively joined to the configured downloads directory with no confinement check (no normalization/prefix validation against the intended base path). A filename carrying an absolute path (e.g. /etc/... or a Windows path) or ../ traversal sequences therefore resolves outside the downloads directory. The two ingestion surfaces differ in source of the tainted name - the HTTP path derives it from the server's Content-Disposition header, and the browser (headless) path from the browser's suggested download filename - but both feed the same unsafe join, so writing attacker bytes to an arbitrary location (startup scripts, cron, web roots, Python site-packages, etc.) yields code execution. Affected CPE: cpe:2.3:a:unclecode:crawl4ai:*.
RemediationAI
Vendor-released patch: upgrade to Crawl4AI 0.9.0, which fixes the unsafe filename handling (see advisory GHSA-2jq4-q6vv-4cp3 and commit 60886d1a0c52682e4c83a7cef9dfac417fff6bd2). If you cannot upgrade immediately, only crawl trusted destinations and avoid running the crawler against untrusted or attacker-influenced sites, disable file-download handling in the crawler configuration where possible, and run the crawler under a low-privilege, sandboxed/containerized account whose write scope is confined (e.g. mount the downloads directory on a dedicated volume with no execute permission and no overlap with system or application paths) so a traversal write cannot reach startup scripts, web roots, or Python package directories; note these controls reduce functionality (no downloads) or add operational overhead (sandboxing) but do not fully close the flaw the way the 0.9.0 upgrade does. Advisory: https://github.com/unclecode/crawl4ai/security/advisories/GHSA-2jq4-q6vv-4cp3.
Authentication bypass in Crawl4AI Docker API server (versions prior to 0.8.7) allows remote unauthenticated attackers to
Arbitrary local file disclosure in Crawl4AI's Docker API (versions before 0.8.0) lets unauthenticated remote attackers r
Remote code execution in Crawl4AI's Docker API server (versions prior to 0.9.0) lets unauthenticated attackers run arbit
Remote code execution in Crawl4AI Docker API before 0.8.0 via hooks parameter. The /crawl endpoint accepts Python code i
Arbitrary file write in Crawl4AI Docker API server before 0.8.8 lets unauthenticated remote attackers escape the ALLOWED
Arbitrary JavaScript execution in Crawl4AI's Docker API server (versions before 0.8.7) lets remote attackers submit code
Server-side request forgery in Crawl4AI's Docker API server (versions before 0.8.7) allows remote unauthenticated attack
Server-side request forgery in Crawl4AI before 0.8.7 allows unauthenticated remote attackers to coerce the server into f
Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py. Rated critical severity (CVSS 9.1), this vuln
Arbitrary file write in Crawl4AI's Docker API server (versions before 0.8.7) lets remote unauthenticated attackers overw
Credential exfiltration in Crawl4AI's Docker API server (all versions before 0.8.8) lets remote unauthenticated attacker
Server-side request forgery in Crawl4AI's Docker API server (versions prior to 0.9.0) lets a remote unauthenticated clie
Same weakness CWE-22 – Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41934