Skip to content
HighVulnerability

CVE-2026-91940: crawl4ai arbitrary file write in PDFContentScrapingStrategy config fields

Identifier
CVE-2026-91940
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

crawl4ai before 0.9.3 contains an arbitrary file write flaw in PDFContentScrapingStrategy. The _filter_untrusted_fields function does not validate untrusted configuration fields, so crafted config bodies with malicious image_save_dir paths can be submitted. Attackers can write attacker-controlled bytes into any directory accessible to the service account.

Mitigation

Fixed in 0.9.3 (crawl4ai versions before 0.9.3 are affected).