Vulnerability · Published Jun 23, 2026 · Assigned by VulnCheck
CVE-2026-56258Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU
High 8.1
In plain English
A high-severity path traversal in Crawl4AI from Crawl4AI. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Crawl4AI before 0.8.8 contains an arbitrary file write vulnerability in the screenshot and PDF endpoints that allows unauthenticated attackers to write files outside the intended directory via symlink and time-of-check-time-of-use (TOCTOU) attacks on the output_path parameter. Remote attackers can exploit insufficient path validation and symlink following to achieve arbitrary file write and potential code execution on systems where the runtime user has write access to executable or cron locations.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | crawl4ai | 0.8.8 | GHSA-7cx2-g3h9-382p |
| PyPI | crawl4ai | 0.8.8 | PYSEC-2026-228 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- GitHub Security Advisory (GHSA-7cx2-g3h9-382p) vendor-advisory
- VulnCheck Advisory: Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU third-party-advisory