CVE-2026-57571
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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-59: Improper Link Resolution Before File Access
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-07-07 |
Timeline
- 2026-06-18GitHub advisory published (GHSA-2jq4-q6vv-4cp3)18 days before publication
- 2026-07-06Published by the CNA20:09 UTC
- 2026-07-07CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-2jq4-q6vv-4cp3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI crawl4ai | before 0.9.0 | 0.9.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| kidocode crawl4ai | before 0.9.0fixed in 0.9.0 | 0.9.0 |
References
- https://github.com/unclecode/crawl4ai/commit/60886d1a0c52682e4c83a7cef9dfac417fff6bd2
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-2jq4-q6vv-4cp3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-57571'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-57571'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-57571'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-57571'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).