---
id: CVE-2026-56260
title: >-
  Crawl4AI before 0.8.7 contains an arbitrary file write vulnerability in the
  Docker API server's /screenshot and /pdf endpoints
summary: >-
  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
  supp…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-22
published: '2026-07-12'
updated: '2026-07-12'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56260'
references:
  - url: 'https://github.com/unclecode/crawl4ai'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/unclecode/crawl4ai/security/advisories/GHSA-365w-hqf6-vxfg
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-arbitrary-file-write-via-output-path-parameter
    label: disclosure@vulncheck.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56265'
  - url: 'https://github.com/unclecode/crawl4ai/releases/tag/v0.8.7'
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-authentication-bypass-via-hardcoded-jwt-signing-key
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-56266'
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-unauthenticated-access-to-monitor-endpoints-via-docker-api-server
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-stored-cross-site-scripting-in-monitor-dashboard
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-server-side-request-forgery-via-webhook-urls
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-server-side-request-forgery-via-direct-crawl-endpoints
  - url: >-
      https://www.vulncheck.com/advisories/crawl4ai-arbitrary-javascript-execution-via-execute-js-endpoint
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-798.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-596.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-3449.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-3443.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-239.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-230.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/crawl4ai/PYSEC-2026-229.yaml
  - url: 'https://github.com/advisories/GHSA-xrfj-6m49-wfmm'
  - url: 'https://github.com/advisories/GHSA-r9hw-78q5-478g'
  - url: 'https://github.com/advisories/GHSA-g2pv-76hm-j4x9'
  - url: 'https://github.com/advisories/GHSA-f23g-2f38-gg94'
  - url: 'https://github.com/advisories/GHSA-8qrg-7j2f-rf2h'
  - url: 'https://github.com/advisories/GHSA-53rg-46cm-4g2v'
tags:
  - nvd
  - osv
  - pip
ingestedAt: '2026-07-12T12:20:13.299Z'
epss: 0.00648
epssPercentile: 0.48857
aliases:
  - GHSA-8qrg-7j2f-rf2h
  - CVE-2026-56261
  - CVE-2026-56262
  - CVE-2026-56263
  - CVE-2026-56264
  - CVE-2026-56265
  - CVE-2026-56266
  - GHSA-365w-hqf6-vxfg
  - GHSA-53rg-46cm-4g2v
  - GHSA-f23g-2f38-gg94
  - GHSA-g2pv-76hm-j4x9
  - GHSA-r9hw-78q5-478g
  - GHSA-xrfj-6m49-wfmm
  - PYSEC-2026-229
  - PYSEC-2026-230
  - PYSEC-2026-239
  - PYSEC-2026-3443
  - PYSEC-2026-3449
  - PYSEC-2026-596
  - PYSEC-2026-798
ecosystem: pip
vendor: crawl4ai
product: crawl4ai
affected:
  - crawl4ai < 0.8.7
patched:
  - crawl4ai 0.8.7
scores:
  nvd: 9.1
  osv: 9.8
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-56260)

Affected packages:

- `crawl4ai < 0.8.7`

Patched in:

- `crawl4ai 0.8.7`

Source: https://osv.dev/vulnerability/GHSA-8qrg-7j2f-rf2h
