Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Crawl4AI Docker API
-
DeliveryCraft URL with IPv6 transition encoding of 169.254.169.254
-
ExploitPOST to /crawl or webhook endpoint
-
ExecutionSSRF filter bypass, server fetches IMDS
-
PersistCloud IAM credentials returned in response
-
ImpactAssume role and pivot into cloud account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitable against any Crawl4AI Docker API deployment <= 0.8.7 running with the default jwt_enabled:false (no CRAWL4AI_API_TOKEN set) where the attacker can reach one of the vulnerable endpoints (/crawl, /md, /html, /screenshot, /pdf, /execute_js, /crawl/job, /llm/job). The attacker must supply a URL using an IPv6 transition form (::, ::ffff:<v4>, 64:ff9b::<v4>, 2002:<v4>::, ::<v4>) that the host's network stack routes to an internal address. Exploitation is materially limited when the operator has set CRAWL4AI_API_TOKEN/enabled JWT, when egress from the container is firewalled away from IMDS/internal ranges, or when the host runs IPv6-disabled with strict IPv4-only routing that does not honor the embedded transition addresses. |
| Impact | CVSS 3.1 base 7.5 (AV:N/AC:L/PR:N/UI:N/C:H/I:N/A:N) accurately reflects an unauthenticated network-reachable SSRF with high confidentiality impact via metadata theft. The default-insecure posture (jwt_enabled:false out of the box) materially raises real-world exposure compared to typical SSRF flaws gated by auth - any internet-exposed Crawl4AI Docker deployment is at risk. No EPSS, KEV, or POC indicators were provided, so the score reflects vendor self-assessment rather than evidence of in-the-wild abuse; however, SSRF-to-cloud-metadata is highly automatable and well-known to attackers scanning AI/LLM scraper infrastructure. The integrity/availability ratings of N are appropriate since the primary impact is read-only proxied requests, though chained credential theft from IMDS could lead to broader compromise outside the CVSS scope. |
| Exploit ScenarioDerived | An attacker discovers a Crawl4AI Docker API exposed to the internet (or accessible from a tenant in the same VPC) and issues an unauthenticated POST /crawl with url set to http://[::ffff:169.254.169.254]/latest/meta-data/iam/security-credentials/. The server resolves the IPv6 form, the legacy blocklist fails to match, and the response containing AWS instance-credentials is returned in the crawl output. The attacker then assumes the IAM role from the leaked temporary credentials and pivots into the cloud account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Server-Side Request Forgery in Crawl4AI's Docker API server (versions <= 0.8.7) allows unauthenticated remote attackers to bypass the IPv4/IPv6 CIDR blocklist in validate_webhook_url/validate_url_destination by using IPv6 transition forms (NAT64, 6to4, IPv4-mapped, IPv4-compatible) or the unspecified address. Since the Docker API ships with jwt_enabled:false by default, attackers can pivot the server into fetching cloud metadata endpoints like 169.254.169.254, potentially exposing IAM credentials. No public exploit identified at time of analysis, but the upstream advisory (GHSA-4qqr-vv2q-cmr5) details the exact bypass payloads.
RemediationAI
Vendor-released patch: upgrade pip/crawl4ai to 0.8.8 or later, which replaces the explicit CIDR blocklist with an ipaddress.is_global check evaluated across all IPv6 transition encodings (v4-mapped, NAT64 64:ff9b::/96, 6to4 2002::/16, v4-compat ::/96) and also makes error messages opaque to remove the DNS/oracle leak; see https://github.com/unclecode/crawl4ai/security/advisories/GHSA-4qqr-vv2q-cmr5. If immediate upgrade is not feasible, enable authentication by setting CRAWL4AI_API_TOKEN and switching jwt_enabled to true (this blocks unauthenticated callers but breaks any clients that do not pass the token). As a network-level compensating control, restrict the container's outbound traffic with an egress firewall that drops 169.254.169.254 and RFC1918/internal ranges, or run the container in a network namespace without a route to the cloud IMDS - be aware this can break legitimate webhook destinations that legitimately live on internal networks.
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 Python web-crawling framework (pkg:pip/crawl4ai) commonly deployed via its Docker API service for LLM/agent pipelines. The vulnerable logic in deploy/docker/utils.py applied an explicit deny-list of internal CIDR ranges, but the SSRF defense (CWE-918) failed to account for IPv6 address family semantics where an IPv4 address can be embedded inside an IPv6 representation (::ffff:169.254.169.254, 64:ff9b::a9fe:a9fe, 2002:a9fe:a9fe::, ::a9fe:a9fe) and still route to the original IPv4 destination. The unspecified IPv6 address :: also bypassed checks. The endpoints affected are the crawl actions (/crawl, /md, /html, /screenshot, /pdf, /execute_js) and webhook URL inputs on /crawl/job and /llm/job. The fix replaces the blocklist with Python's stdlib ipaddress is_global check, evaluated against the resolved address and every embedded transition form.
Know when Docker 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable unauthenticated Docker API (PR:N, AV:N, AC:L); SSRF to IMDS yields high confidentiality via credential theft, but no direct write or DoS, so I:N and A:N.
Primary rating from Vendor (https://github.com/unclecode/crawl4ai).
CVSS VectorVendor: https://github.com/unclecode/crawl4ai
DescriptionCVE.org
Summary
The Docker API server's SSRF protection (validate_webhook_url / validate_url_destination in deploy/docker/utils.py) used an explicit IPv4/IPv6 CIDR blocklist that missed several address families. An attacker could reach internal services and cloud metadata endpoints (e.g. 169.254.169.254) despite the filter by encoding an internal IPv4 address inside an IPv6 transition form, or by using the IPv6 unspecified address.
Because the Docker API is unauthenticated by default (jwt_enabled: false), no credentials are required.
Affected paths
The blocklist was applied to crawl URLs (POST /crawl, /md, /html, /screenshot, /pdf, /execute_js) and webhook URLs (/crawl/job, /llm/job). All shared the same incomplete check.
Bypasses
The following all resolve to (or route to) blocked internal addresses but were NOT caught:
- IPv6 unspecified
:: - NAT64
64:ff9b::a9fe:a9fe(embeds169.254.169.254) - 6to4
2002:a9fe:a9fe::(embeds169.254.169.254) - IPv4-mapped
::ffff:169.254.169.254 - IPv4-compatible
::a9fe:a9fe
The error message also echoed the resolved internal IP, acting as a minor DNS/oracle leak.
Impact
Server-Side Request Forgery: an unauthenticated attacker can make the server fetch internal-network URLs and cloud instance-metadata endpoints, potentially exposing internal services and cloud credentials.
Fix
The blocklist is replaced by a single rule: reject any resolved IP where not ip.is_global, evaluated on the address AND every embedded IPv4 transition form (v4-mapped, NAT64 64:ff9b::/96, 6to4 2002::/16, v4-compat ::/96). Error messages are now opaque and no longer echo the resolved IP.
Workarounds
- Upgrade to the patched version.
- Enable authentication (
CRAWL4AI_API_TOKEN). - Restrict the container's outbound network access (egress firewall / no metadata route).
Credits
Internal security audit (Crawl4AI maintainers).
Articles & Coverage 1
Executive ViewAI
Crawl4AI Docker API server (version 0.8.7 and earlier) has a critical flaw that allows unauthorized attackers to extract cloud authentication credentials without any validation, potentially compromising AWS/Azure accounts and hosted infrastructure. This affects organizations running Crawl4AI in development or production environments. The risk is elevated because the service does not enforce authentication by default, creating immediate exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately enable authentication by setting jwt_enabled:true to require authentication for Docker API access; (2) Implement egress firewall rules blocking outbound connections from Crawl4AI to 169.254.169.254/32 and other cloud metadata service endpoints; (3) Deploy WAF rules to detect and block IPv6 transition address formats (NAT64, 6to4, IPv4-mapped, IPv4-compatible addresses) and the unspecified address in webhook and URL validation parameters; (4) Enable monitoring and alerting for any requests targeting metadata endpoints or unusual network access patterns from Crawl4AI instances.
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.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-38568
GHSA-4qqr-vv2q-cmr5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB