CVE-2026-91940: crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy

Published Sep 15, 2026
·
Updated

crawl4ai before 0.9.3 contains an arbitrary file write vulnerability in PDFContentScrapingStrategy where the filteruntrustedfields function fails to validate untrusted configuration fields. Attackers can submit crafted config bodies with malicious imagesavedir paths to write attacker-controlled bytes into any directory accessible to the service account.

Affected Software

1 affected component
Crawl4AI<0.9.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade crawl4ai to a version that resolves this vulnerability.

    Fixed in 0.9.3
  2. Compensating control

    Until upgraded, restrict filesystem permissions so the service account cannot write to arbitrary directories via the image_save_dir path.

Event History

Sep 15, 2026
CVE Published
via MITRE·03:18 PM
Data Sourced
via MITRE·03:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Crawl4AI deployments running a version before 0.9.3 are affected where an attacker can submit configuration bodies that reach PDFContentScrapingStrategy. The impact is limited by the filesystem permissions of the service account.

2

What does an attacker need to exploit it?

An attacker needs the ability to submit a crafted configuration body containing a malicious image_save_dir path. No privileges or user interaction are required according to the supplied severity vector.

3

What can happen if exploitation succeeds?

The attacker can write attacker-controlled bytes to arbitrary directories that are accessible to the Crawl4AI service account. This can affect integrity, while the provided vector does not indicate confidentiality or availability impact.

4

What is the immediate mitigation if upgrading is not possible?

Restrict who can submit configuration bodies that invoke PDFContentScrapingStrategy, and run the service under an account with minimal filesystem write permissions. Prevent writable access to sensitive application, system, and deployment directories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203