Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-57571: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in unclecode crawl4ai

0
Critical
VulnerabilityCVE-2026-57571cvecve-2026-57571cwe-22cwe-59
Published: 07/06/2026 (07/06/2026, 20:09:52 UTC)
Source: CVE Database V5
Vendor/Project: unclecode
Product: crawl4ai

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.

CVSS v3.1

Score 9.6critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
unclecode/crawl4ai
pkg:github/unclecode/crawl4ai
Affected versions
<0.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 20:51:40 UTC

Technical Analysis

CVE-2026-57571 affects crawl4ai versions before 0.9.0. The vulnerability arises because the crawler uses attacker-influenced input for the destination filename without restricting the path to the downloads directory. Specifically, the HTTP crawler uses the Content-Disposition filename from responses, and the browser crawler uses the suggested download filename. This lack of confinement allows path traversal attacks, enabling arbitrary file writes with attacker-controlled content. Such writes can escalate to remote code execution. The vulnerability is resolved in version 0.9.0.

Potential Impact

An attacker can write arbitrary files to the filesystem outside the intended downloads directory, potentially leading to remote code execution. The CVSS v3.1 score is 9.6 (critical), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, scope change, and high confidentiality, integrity, and availability impacts.

Mitigation Recommendations

Upgrade crawl4ai to version 0.9.0 or later, where this path traversal vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is confirmed fixed in 0.9.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-24T18:49:56.207Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4c11fc27e9c797192ee549

Added to database: 07/06/2026, 20:37:16 UTC

Last enriched: 07/06/2026, 20:51:40 UTC

Last updated: 07/06/2026, 21:25:04 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses