CVE-2026-56259 Crawl4AI - LLM Credential Exfiltration via base_url and Environment Variable Resolution

High 8.8 Published Updated

Attackers can exfiltrate LLM API keys and server secrets via unauthenticated endpoints, enabling authentication bypass and credential theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-56259?

CVE-2026-56259 is a high-severity vulnerability in Crawl4AI, published on 12 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-200

Which versions are affected by CVE-2026-56259?

3 open source packages ship an affected version, including crawl4ai. It affects 1 product.

PackageAffectedFixed in
crawl4ai PyPIAll versions0.8.8
crawl4ai PyPIAll versions0.8.8
crawl4ai PyPIAll versions0.8.8

Products include Kidocode Crawl4ai.

How do I fix CVE-2026-56259?

Upgrade crawl4ai to 0.8.8 or later.

Is CVE-2026-56259 being exploited?

There is no known exploitation of CVE-2026-56259 in the wild and no public exploit code.

Sources

Also known as GHSA-f989-c77f-r2cq, GHSA-mw9f-q68p-364x, PYSEC-2026-3448.

Is CVE-2026-56259 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free