8.1High

CVE-2026-56258Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU

Crawl4AI Crawl4AI Published: (4 months ago)

Description

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Crawl4AI Crawl4AI < 0.8.8, fixed 0.8.8
kidocode crawl4ai < 0.8.8

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:* < 0.8.8