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.
References
| Link | Resource |
|---|---|
| https://github.com/unclecode/crawl4ai/security/advisories/GHSA-7cx2-g3h9-382p | Third Party Advisory |
| https://www.vulncheck.com/advisories/crawl4ai-arbitrary-file-write-via-output-path-symlink-and-toctou | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-06-23 13:16
Updated : 2026-06-25 18:38
NVD link : CVE-2026-56258
Mitre link : CVE-2026-56258
CVE.ORG link : CVE-2026-56258
JSON object : View
Products Affected
kidocode
- crawl4ai
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
