Paper/Archive/CVE-2026-56258

CVE-2026-56258

Crawl4AI Crawl4AI — Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU

Description · from the CVE record

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

ProductAffectedFixed inSource
Crawl4AI< 0.8.80.8.8CNA

Scores by source

VulnCheck (CNA)9.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

advisorygithub.com/unclecode/crawl4ai/security/advisories/GHSA-7cx2-g3h9-382pwriteupvulncheck.com/advisories/crawl4ai-arbitrary-file-write-via-output-path-symlink-and-toctou