Description
Crawl4AI before 0.8.7 contains an arbitrary file write vulnerability in the Docker API server's /screenshot and /pdf endpoints. The output_path parameter accepts arbitrary filesystem paths without validation, allowing an attacker to supply absolute or path-traversal values to write to any location writable by the application's user, overwriting server files and causing denial of service.
Published: 2026-07-12
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Crawl4AI versions prior to 0.8.7 allow attackers to write to arbitrary files through the Docker API server’s /screenshot and /pdf endpoints. The vulnerable output_path parameter accepts any filesystem path, including those containing absolute or relative traversal sequences. This weakness, classified as CWE-22 "Path Traversal", permits overwriting existing server files, which can lead to denial of service or further compromise if the attacker writes malicious payloads.

Affected Systems

The flaw affects the Crawl4AI product Docker API server that hosts the /screenshot or /pdf endpoints and uses a version older than 0.8.7. Users running an earlier release are susceptible to the file‑write vulnerability.

Risk and Exploitability

The CVSS score of 8.8 indicates critical impact. The EPSS score of <1% shows a very low probability of exploitation, and the vulnerability can be exploited if an attacker can access the API. The lack of input validation allows. The likely attack vector is remote API exploitation, and the consequence is loss of data integrity and availability on the host machine.

Generated by OpenCVE AI on July 29, 2026 at 08:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Crawl4AI version 0.8.7 or later, which fixes the output_path validation
  • If an upgrade cannot be performed immediately, restrict the /screenshot and /pdf endpoints to a trusted network segment and enforce strict file write permissions on the application’s user account
  • Configure the Docker host to mount only necessary directories into the container and disable any default writable volumes to prevent unintended file creation

Generated by OpenCVE AI on July 29, 2026 at 08:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Kidocode
Kidocode crawl4ai
CPEs cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*
Vendors & Products Kidocode
Kidocode crawl4ai

Mon, 13 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 12 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Crawl4ai
Crawl4ai crawl4ai
Vendors & Products Crawl4ai
Crawl4ai crawl4ai

Sun, 12 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description Crawl4AI before 0.8.7 contains an arbitrary file write vulnerability in the Docker API server's /screenshot and /pdf endpoints. The output_path parameter accepts arbitrary filesystem paths without validation, allowing an attacker to supply absolute or path-traversal values to write to any location writable by the application's user, overwriting server files and causing denial of service.
Title Crawl4AI - Arbitrary File Write via output_path Parameter
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Crawl4ai Crawl4ai
Kidocode Crawl4ai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T21:34:09.393Z

Reserved: 2026-06-19T21:56:09.656Z

Link: CVE-2026-56260

cve-icon Vulnrichment

Updated: 2026-07-13T15:23:43.172Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T09:00:18Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')