CVE-2026-56258CWE-22

Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU

Critical · published June 23, 2026

CVSS v4.0
9.2
EPSS
1%
Percentile
59.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.2 · CRITICAL
Vector
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
EPSS
0.00912 · 59.7th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-06-23T12:12Z
EPSS history
Timeline
  • 23 JUN 12:12Z
    Crawl4AI - Arbitrary File Write via output_path Symlink and TOCTOU
    cvelistv5