{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-56258: Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-56258","status":"final","version":"1","initial_release_date":"2026-06-23T12:12:59.326Z","current_release_date":"2026-06-23T15:05:09.471Z","revision_history":[{"date":"2026-06-23T12:12:59.326Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-56258 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-56258"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-56258"},{"category":"external","summary":"GitHub Security Advisory (GHSA-7cx2-g3h9-382p)","url":"https://github.com/unclecode/crawl4ai/security/advisories/GHSA-7cx2-g3h9-382p"},{"category":"external","summary":"VulnCheck Advisory: Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU","url":"https://www.vulncheck.com/advisories/crawl4ai-arbitrary-file-write-via-output-path-symlink-and-toctou"}]},"product_tree":{"branches":[{"category":"vendor","name":"Crawl4AI","branches":[{"category":"product_name","name":"Crawl4AI","branches":[{"category":"product_version_range","name":"<0.8.8","product":{"name":"Crawl4AI Crawl4AI <0.8.8","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:crawl4ai:crawl4ai:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"0.8.8","product":{"name":"Crawl4AI Crawl4AI 0.8.8","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:crawl4ai:crawl4ai:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-56258","title":"Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU","notes":[{"category":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","baseScore":9.2,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 0.8.8.","product_ids":["CSAFPID-1"]}]}]}