Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Docker API server
-
DeliveryPOST JavaScript to /execute_js
-
ExploitCode runs in --disable-web-security browser
-
ExecutionIssue cross-origin SSRF to internal services
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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.
Remote code execution in Crawl4AI Docker API before 0.8.0 via hooks parameter. The /crawl endpoint accepts Python code i
Authentication bypass in Crawl4AI Docker API server (versions prior to 0.8.7) allows remote unauthenticated attackers to
Arbitrary local file disclosure in Crawl4AI's Docker API (versions before 0.8.0) lets unauthenticated remote attackers r
Remote code execution in Crawl4AI's Docker API server (versions prior to 0.9.0) lets unauthenticated attackers run arbit
Arbitrary file write in Crawl4AI (the open-source LLM-friendly web crawler by unclecode) before version 0.9.0 lets a mal
Arbitrary file write in Crawl4AI Docker API server before 0.8.8 lets unauthenticated remote attackers escape the ALLOWED
Server-side request forgery in Crawl4AI's Docker API server (versions before 0.8.7) allows remote unauthenticated attack
Server-side request forgery in Crawl4AI (unclecode) versions 0.7.0 through 0.9.3 lets unauthenticated, remote API client
Server-side request forgery in Crawl4AI before 0.8.7 allows unauthenticated remote attackers to coerce the server into f
Crawl4AI <=0.4.247 is vulnerable to SSRF in /crawl4ai/async_dispatcher.py. Rated critical severity (CVSS 9.1), this vuln
Arbitrary file write in Crawl4AI's Docker API server (versions before 0.8.7) lets remote unauthenticated attackers overw
Credential exfiltration in Crawl4AI's Docker API server (all versions before 0.8.8) lets remote unauthenticated attacker
EUVD-2026-40431
GHSA-g2pv-76hm-j4x9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB