Arbitrary File Write Vulnerability in Crawl4AI by UncleCode
CVE-2026-56258
9.2CRITICAL
What is CVE-2026-56258?
Crawl4AI prior to version 0.8.8 is vulnerable to an arbitrary file write issue found in its screenshot and PDF endpoints. This vulnerability allows unauthenticated attackers to exploit insufficient path validation, utilizing symlink and time-of-check-time-of-use (TOCTOU) attacks on the output_path parameter. Consequently, attackers can write files outside of the intended directory structure, which may lead to arbitrary file creation and potential code execution on systems where the runtime user possesses write access to critical executable or cron locations.
Affected Version(s)
Crawl4AI 0 < 0.8.8
Crawl4AI 0.8.8
