Summary
CVE-2026-56259 is a high-severity credential exfiltration vulnerability in the Crawl4AI Docker API server, affecting all versions prior to 0.8.8. Unauthenticated remote attackers can exploit exposed LLM processing endpoints to redirect API calls to attacker-controlled infrastructure and read arbitrary server-side environment variables, enabling theft of LLM provider API keys and the JWT SECRET_KEY used to sign authentication tokens — which can in turn be leveraged for authentication bypass. The vulnerability carries a CVSS 3.1 score of 8.2 (HIGH).
Technical details
- Root cause: The Crawl4AI Docker API server exposes LLM processing endpoints (
/md,/llm,/llm/job) without any authentication by default. These endpoints accept user-suppliedbase_urlandapi_tokenparameters that are processed without sanitization or restriction. - Attack vector 1 – LLM provider API key exfiltration: An attacker supplies a malicious
base_urlparameter, redirecting outbound LLM API calls to an attacker-controlled server. The Docker API forwards the request with the server’s configured LLM provider API key attached, exposing the credential directly to the attacker. - Attack vector 2 – Arbitrary environment variable exfiltration: The
LLMConfigobject supports anapi_token="env:VARIABLE_NAME"syntax that resolves values at runtime viaos.getenv. An attacker can setapi_tokentoenv:SECRET_KEY— or any other environment variable name — to read arbitrary server-side secrets. Exfiltrating the JWTSECRET_KEYenables forging of valid authentication tokens and a full authentication bypass. - No authentication or user interaction required: All vulnerable endpoints are network-accessible and unauthenticated by default in the Docker deployment.
- Impact: High confidentiality impact — theft of LLM provider API keys, disclosure of arbitrary environment variables (including database credentials and other secrets), and potential full authentication bypass via a stolen JWT signing secret.
Affected software
- Crawl4AI all versions prior to 0.8.8 (i.e., all versions ≤ 0.8.7)
Severity
CVSS 3.1 base score 8.2 (HIGH)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Mitigation and recommended actions
- Immediate action: Upgrade Crawl4AI to version 0.8.8 or later. The patch removes attacker control over the
base_urlparameter (endpoint is now always derived server-side) and restricts theenv:variable resolution mechanism from resolving sensitive variable names containingSECRET,PASSWORD, orPRIVATE, or matching specific prefixes such asAWS_SECRET*. - If immediate upgrade is not possible: Restrict network-level access to the Crawl4AI Docker API server so it is not reachable from untrusted or public networks. The Docker API is internet-facing by default and should not be publicly exposed.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

