{"id":"CVE-2026-56258","published":"2026-06-23T12:12:59Z","modified":"2026-07-14T21:34:08Z","title":"Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU","vendor":"Crawl4AI","product":"Crawl4AI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00912,"percentile":0.60904,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/unclecode/crawl4ai/security/advisories/GHSA-7cx2-g3h9-382p","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/crawl4ai-arbitrary-file-write-via-output-path-symlink-and-toctou","tags":["third-party-advisory"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":12.18},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"crawl4ai","affectedVersions":[{"vendor":"Crawl4AI","product":"Crawl4AI","versions":["< 0.8.8"]}],"fixedVersions":[{"vendor":"Crawl4AI","product":"Crawl4AI","versions":["0.8.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-23T15:00:47.564503Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"crawl4ai","vulnerableRanges":["<0.8.8"],"patched":["0.8.8"],"from":["PYSEC-2026-228"],"provenance":"source"}],"summary":{"text":"Crawl4AI, before version 0.8.8, has a path validation flaw in its screenshot and PDF endpoints, where the output_path parameter can be abused through symlink following and a time-of-check-time-of-use race. An unauthenticated remote attacker can exploit this, with a high-complexity attack and no user interaction, to write files outside the intended directory, potentially leading to code execution where the runtime user can write to executable or cron locations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:44Z"},"euvd":{"id":"EUVD-2026-38432","exploited":false,"provenance":"source"}}