Skip to main content

Crawl4AI CVE-2026-56259

| EUVDEUVD-2026-43226 HIGH
Information Exposure (CWE-200)
2026-07-12 VulnCheck GHSA-mw9f-q68p-364x
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Locate exposed Crawl4AI Docker API
  2. Delivery
    Send crafted request to /llm endpoint
  3. Exploit
    Set base_url to attacker server, api_token=env:SECRET
  4. Execution
    Server resolves and forwards env variables
  5. Persist
    Capture provider keys and JWT SECRET_KEY
  6. Impact
    Forge tokens to bypass authentication

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

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 (version before 0.8.8) be deployed and network-reachable by the attacker, with its unauthenticated /md, /llm, or /llm/job endpoints accessible. The concrete prerequisites are: the ability to send a request supplying a controlled base_url parameter, and use of the api_token=env:VARIABLE_NAME resolution feature to name the target environment variable. Sensitive values (provider API keys, JWT SECRET_KEY) must actually be present in the server's environment for the leak to yield useful secrets. Limiting factors: the vulnerability is only reachable if the Docker API server is exposed rather than bound to localhost or firewalled, so deployments that keep the server private are not remotely exploitable; per the CVSS vector no authentication or user interaction is required (PR:N/UI:N), so where the endpoints are exposed there are effectively no other barriers.

Impact

The signals are largely consistent and point to a genuine priority for anyone exposing the Crawl4AI Docker API. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms fully remote, low-complexity, unauthenticated exploitation with no user interaction, and rates vulnerable-system confidentiality High (VC:H) with limited integrity impact (VI:L) - matching a credential-disclosure primitive. The base score of 8.8 (High) is credible. No EPSS score, KEV listing, or SSVC decision data was provided, and no public exploit was identified at time of analysis, so exploitation is currently theoretical-but-easy rather than confirmed in the wild. One nuance worth flagging: the vector rates integrity only Low, yet the description states the leaked JWT SECRET_KEY permits authentication bypass, which is effectively a higher integrity/scope consequence than VC:H/VI:L alone conveys - the real blast radius depends on what those stolen keys unlock (LLM provider billing abuse, downstream account takeover, or full API auth bypass). Overall this should be prioritized wherever the Docker server is network-reachable, tempered by the fact that exploitation requires the API server to actually be deployed and exposed.

Exploit ScenarioDerived

An attacker discovers an internet-exposed Crawl4AI Docker API server and sends an unauthenticated POST to /llm with base_url pointing at their own listener and api_token set to env:OPENAI_API_KEY (then env:SECRET_KEY). The server dutifully resolves each environment variable and forwards it to the attacker's endpoint, handing over the LLM provider key and the JWT signing secret. Using the stolen SECRET_KEY, the attacker forges valid tokens to bypass authentication on the server. No public exploit was identified at time of analysis, but the attack requires only crafted HTTP requests and no authentication.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 12, 2026

Credential exfiltration in Crawl4AI's Docker API server (all versions before 0.8.8) lets remote unauthenticated attackers steal secrets from the host. By abusing the exposed /md, /llm, and /llm/job endpoints, an attacker supplies a malicious base_url to redirect outbound LLM API calls and sets api_token to the special form env:VARIABLE_NAME, causing the server to resolve and leak arbitrary environment variables - including provider API keys and the JWT SECRET_KEY, which in turn enables full authentication bypass. No public exploit identified at time of analysis, but the flaw is trivially exploitable and reported by VulnCheck with an assigned CVSS 4.0 score of 8.8.

RemediationAI

Vendor-released patch: upgrade Crawl4AI to 0.8.8 or later, which is the primary and definitive fix (see the vendor advisory GHSA-f989-c77f-r2cq at https://github.com/unclecode/crawl4ai/security/advisories/GHSA-f989-c77f-r2cq). If immediate upgrade is not possible, do not expose the Docker API server to untrusted networks: bind it to localhost or a private segment and place it behind an authenticating reverse proxy or firewall so the /md, /llm, and /llm/job endpoints are unreachable by attackers - with the trade-off that any legitimate remote clients must be re-routed through the proxy. As additional hardening, run the container with a minimal environment that contains no secrets beyond what is strictly required (avoid placing JWT SECRET_KEY and provider API keys in the process environment), and after any suspected exposure rotate all provider API keys and the JWT SECRET_KEY, since a leaked signing key permits ongoing authentication bypass even after patching. Consult the VulnCheck advisory (https://www.vulncheck.com/advisories/crawl4ai-llm-credential-exfiltration-via-base-url-and-environment-variable-resolution) for detection guidance.

Affected VersionsENISA

Crawl4AI 0 <0.8.8

Affected Packages

pypi crawl4ai fix: 0.8.8

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 a popular open-source, LLM-oriented web-crawling and scraping framework that ships an optional Docker-based REST API server to expose crawling and LLM-extraction functionality over HTTP. The vulnerability class is CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). Two design weaknesses combine: first, the LLM-integration endpoints accept a caller-controlled base_url, letting an attacker point the server's LLM client at an endpoint they control (an SSRF/redirection primitive); second, the api_token field supports an env:VARIABLE_NAME resolution syntax that dereferences server-side environment variables at request time. Because the framework transmits the resolved token to whatever base_url is supplied, an attacker who controls the destination receives the plaintext value of any environment variable they name. The single affected CPE is cpe:2.3:a:crawl4ai:crawl4ai:*:*:*:*:*:*:*:* (all versions prior to the fix).

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 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.2 HIGH

Remote, unauthenticated, low-complexity access to exposed endpoints (AV:N/AC:L/PR:N/UI:N); high confidentiality from secret disclosure, limited integrity via leaked auth key, no availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Jul 12, 2026 - 13:01 EUVD
CVE Published
Jul 12, 2026 - 12:48 cve.org
HIGH 8.8

DescriptionCVE.org

Crawl4AI before 0.8.8 contains credential exfiltration vulnerabilities in the Docker API server that allow attackers to redirect LLM API calls to attacker-controlled endpoints and read arbitrary environment variables. Attackers can exploit the unauthenticated /md, /llm, and /llm/job endpoints by supplying a malicious base_url parameter and setting api_token to env:VARIABLE_NAME to exfiltrate provider API keys and server secrets including JWT SECRET_KEY for authentication bypass.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular open-source LLM crawler, but exposed Docker API server is optional
Social Media
3
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-56264 CRITICAL
9.2 Jun 30

Arbitrary JavaScript execution in Crawl4AI's Docker API server (versions before 0.8.7) lets remote attackers submit code

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

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