Skip to main content

Crawl4AI CVE-2026-56264

| EUVDEUVD-2026-40431 CRITICAL
Code Injection (CWE-94)
2026-06-30 VulnCheck GHSA-g2pv-76hm-j4x9
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed Docker API server
  2. Delivery
    POST JavaScript to /execute_js
  3. Exploit
    Code runs in --disable-web-security browser
  4. Execution
    Issue cross-origin SSRF to internal services
  5. Impact
    Read responses, exfiltrate internal data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Crawl4AI Docker API server be deployed and network-reachable by the attacker, and that the vulnerable /execute_js endpoint be exposed; the browser must be running with the --disable-web-security setting (the default for this server) for the SSRF pivot to succeed. Per CVSS PR:N no authentication is needed, but limiting factors are significant: the CVSS 4.0 vector rates this AC:H with a present attack requirement (AT:P), indicating non-trivial preconditions, and real exploitation depth depends on the server being internet- or network-exposed rather than bound to localhost, plus the existence of reachable internal services for the SSRF to target. Deployments that do not run the Docker API server, or that keep it on a trusted/localhost-only interface, are not practically exploitable.

Impact

Signals are mixed and worth weighing carefully. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N, VC:H/VI:H/VA:H) yields a critical 9.2 with no authentication required (PR:N) and high vulnerable-system impact, but it explicitly flags high attack complexity (AC:H) and a present attack requirement (AT:P), meaning successful exploitation depends on specific conditions rather than a single trivial request. Subsequent-system impact is rated none (SC:N/SI:N/SA:N), which sits in slight tension with the description's emphasis on SSRF into internal services - that internal reach is a real consequence even if the scoring does not credit a separate downstream system. No EPSS score and no KEV listing are provided, and there is no indication of a public proof-of-concept; the finding originates from VulnCheck with a coordinated GitHub Security Advisory (GHSA-365w-hqf6-vxfg). Net assessment: a genuine high-priority issue for anyone exposing the Crawl4AI Docker API server to untrusted networks, but the realistic risk hinges on whether that server is internet-exposed; in locked-down or localhost-only deployments the practical exposure is much lower than the 9.2 suggests.

Exploit ScenarioDerived

An attacker who can reach an internet-exposed Crawl4AI Docker API server sends a crafted HTTP request to /execute_js containing JavaScript that issues fetches to internal endpoints (e.g., a cloud metadata service or an internal admin API). Because the browser runs with web security disabled, those cross-origin responses are readable, letting the attacker exfiltrate internal data or interact with services the server can reach. No authentication is required per the CVSS vector, though the high attack complexity suggests specific environmental conditions must align; no public proof-of-concept is currently identified.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 30, 2026

Arbitrary JavaScript execution in Crawl4AI's Docker API server (versions before 0.8.7) lets remote attackers submit code to the /execute_js endpoint, which runs it inside the server's Chromium browser context launched with --disable-web-security. Because the browser's same-origin and CORS protections are disabled, attacker-controlled JavaScript can pivot into server-side request forgery against internal services and metadata endpoints. No public exploit has been identified at time of analysis, and the CVSS 4.0 base score is 9.2 (critical), though the vector's high attack complexity and present attack requirements indicate exploitation is not fully trivial.

RemediationAI

Upgrade to Crawl4AI 0.8.7 or later, the vendor-released patched version, as the primary fix (see advisory https://github.com/unclecode/crawl4ai/security/advisories/GHSA-365w-hqf6-vxfg). If immediate patching is not possible, do not expose the Docker API server to untrusted networks: bind it to localhost or place it behind authentication and a reverse proxy, and restrict network access to the /execute_js endpoint via firewall rules - accepting that this disables remote use of the JS-execution feature for legitimate clients. Where feasible, run the container with egress network controls (deny outbound access to internal/metadata ranges such as 169.254.169.254 and RFC1918 hosts) to blunt the SSRF impact, noting this may break crawling of intended internal targets. Removing the --disable-web-security browser flag, if your deployment allows configuring it, restores same-origin/CORS protections and materially reduces the SSRF pivot, at the cost of breaking crawls that relied on relaxed cross-origin behavior.

Affected VersionsENISA

Crawl4AI 0 <0.8.7

Affected Packages

pypi crawl4ai fix: 0.8.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Crawl4AI is an open-source, LLM-oriented web crawling and scraping framework that ships an optional Docker API server exposing HTTP endpoints. The /execute_js endpoint is designed to run user-supplied JavaScript inside a headless browser (Playwright/Chromium) to render and manipulate pages. The root cause maps to CWE-94 (Improper Control of Generation of Code / Code Injection): the server treats request input as executable code with no sandboxing of the action. The danger is amplified by the browser being launched with --disable-web-security, which removes same-origin policy and CORS enforcement, so injected JavaScript can issue cross-origin fetches to internal hosts the server can reach. The single affected component is identified by cpe:2.3:a:crawl4ai:crawl4ai:*:*:*:*:*:*:*:* across all versions prior to 0.8.7.

Know when Crawl4ai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Unauthenticated network endpoint executes attacker JavaScript (PR:N), but high complexity (AC:H) reflects the dependence on an exposed Docker server and reachable internal targets; full code-execution impact gives C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 01, 2026 - 02:16 EUVD
CVE Published
Jun 30, 2026 - 22:08 cve.org
CRITICAL 9.2

DescriptionCVE.org

Crawl4AI before 0.8.7 contains an arbitrary JavaScript execution vulnerability in the Docker API server's /execute_js endpoint, which accepts and executes arbitrary user-supplied JavaScript in the server's browser context with --disable-web-security enabled. An attacker can execute arbitrary JavaScript and, combined with the browser's relaxed security settings, perform server-side request forgery against internal services.

Executive ViewAI

Why It Matters

Crawl4AI Docker API server (versions before 0.8.7) contains a critical vulnerability enabling remote code execution that compromises internal network security. Attackers can submit arbitrary code to the /execute_js endpoint for execution within the server's browser context, establishing pivot points to internal services and sensitive infrastructure. Organizations deploying affected versions face immediate risk of data exfiltration and lateral movement to critical systems.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Implement network segmentation to restrict API server access; deploy WAF or API Gateway rules to block the /execute_js endpoint; configure network egress filtering to prevent SSRF pivots to internal infrastructure; disable the vulnerable endpoint if operationally feasible; establish enhanced monitoring for exploitation attempts; consider temporary service suspension if not operationally critical.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
popular open-source AI crawler, but Docker API server is a niche deployment
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-26216 CRITICAL POC
10.0 Feb 12

Remote code execution in Crawl4AI Docker API before 0.8.0 via hooks parameter. The /crawl endpoint accepts Python code i

CVE-2026-56265 CRITICAL POC
9.3 Jun 21

Authentication bypass in Crawl4AI Docker API server (versions prior to 0.8.7) allows remote unauthenticated attackers to

CVE-2026-26217 CRITICAL POC
9.2 Feb 12

Arbitrary local file disclosure in Crawl4AI's Docker API (versions before 0.8.0) lets unauthenticated remote attackers r

CVE-2026-57572 CRITICAL
10.0 Jul 06

Remote code execution in Crawl4AI's Docker API server (versions prior to 0.9.0) lets unauthenticated attackers run arbit

CVE-2026-57571 CRITICAL
9.6 Jul 06

Arbitrary file write in Crawl4AI (the open-source LLM-friendly web crawler by unclecode) before version 0.9.0 lets a mal

CVE-2026-56258 CRITICAL
9.2 Jun 23

Arbitrary file write in Crawl4AI Docker API server before 0.8.8 lets unauthenticated remote attackers escape the ALLOWED

CVE-2026-56261 CRITICAL
9.2 Jul 10

Server-side request forgery in Crawl4AI's Docker API server (versions before 0.8.7) allows remote unauthenticated attack

CVE-2026-109238 CRITICAL
9.2 Oct 12

Server-side request forgery in Crawl4AI (unclecode) versions 0.7.0 through 0.9.3 lets unauthenticated, remote API client

CVE-2026-56266 CRITICAL
9.2 Jun 22

Server-side request forgery in Crawl4AI before 0.8.7 allows unauthenticated remote attackers to coerce the server into f

CVE-2025-28197 CRITICAL
9.1 Apr 18

Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py. Rated critical severity (CVSS 9.1), this vuln

CVE-2026-56260 HIGH
8.8 Jul 12

Arbitrary file write in Crawl4AI's Docker API server (versions before 0.8.7) lets remote unauthenticated attackers overw

CVE-2026-56259 HIGH
8.8 Jul 12

Credential exfiltration in Crawl4AI's Docker API server (all versions before 0.8.8) lets remote unauthenticated attacker

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy