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 before 0.8.7 allows an attacker to write any file to the host filesystem through the /screenshot and /pdf endpoints of its Docker API server. The output_path parameter accepts absolute or path-traversal values without validation, enabling overwriting of arbitrary files owned by the container's user, which can result in denial of service by corrupting or deleting critical configuration or binary files.

Affected Systems

The affected product is Crawl4AI version 0.8.6 and earlier. Any installation that runs the Docker API server and exposes the /screenshot or /pdf endpoints to an untrusted network is vulnerable. The vulnerability exists regardless of whether the container is run with elevated privileges; any writable host directory mapped to the container can be modified by an attacker.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity, and the EPSS score of less than 1% signals a very low likelihood of exploitation in the wild. The flaw is not listed in CISA KEV. The likely attack vector is remote API access; exploitation requires no additional privileges beyond those granted to the application’s user on the host. If exploited, an attacker could overwrite arbitrary files and cause downtime or other compromise.

Generated by OpenCVE AI on August 3, 2026 at 03:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Crawl4AI to version 0.8.7 or later to enforce path validation on output_path.
  • If an upgrade is not immediately possible, isolate the /screenshot and /pdf endpoints behind an authentication gateway or restrict them to a trusted internal network.
  • Limit the host directories mounted into the container and set those mounts to read-only whenever possible, to reduce the impact surface for file writes.

Generated by OpenCVE AI on August 3, 2026 at 03:50 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

Status : Analyzed

Published: 2026-07-12T12:16:45.153

Modified: 2026-07-14T18:25:42.457

Link: CVE-2026-56260

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T04:00:13Z

Weaknesses
  • CWE-22

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