Advisory

PYSEC-2026-228

Also known as: CVE-2026-56258, GHSA-7cx2-g3h9-382p

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-06-23 13:16 UTC
Modified
2026-06-26 12:45 UTC

Affected packages and fixes

crawl4ai

PyPI · All systems

Affected

  • introduced 0, fixed 0.8.8 (ecosystem)

Fixed versions

0.8.8

Fix

  • Fixed version 0.8.8
    pip install --upgrade crawl4ai==0.8.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences