# Crawl4AI: LLM credential exfiltration in Docker server via request base_url and env: token resolution

Advisory record · `GHSA-f989-c77f-r2cq`

- **Identifiers:** `GHSA-f989-c77f-r2cq` · `CVE-2026-56259` · `PYSEC-2026-3448`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html) · [CWE-522](https://cwe.mitre.org/data/definitions/522.html) · [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md) · [Hard-coded credentials](https://agentprime.io/advisories/tag/hard-coded-credentials.md) · [Server-side request forgery (SSRF)](https://agentprime.io/advisories/tag/ssrf.md)
- **Published:** 16 Jun 2026
- **Updated:** 15 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Jun 2026, 21:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `crawl4ai` (PyPI): affected `<0.8.8`; fixed in `0.8.8`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Crawl4AI versions before 0.8.8 have a flaw in the Docker API server that lets a request control the LLM endpoint and which server environment variable an LLM token resolves from. An unauthenticated attacker, who can reach the Docker API (which is unauthenticated by default), can send requests that leak the server's LLM provider API key and other secrets, such as a JWT signing key, to an endpoint they control. Upgrade to crawl4ai 0.8.8 or later. Enabling authentication with CRAWL4AI_API_TOKEN is also a listed workaround.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 4.0: `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`, from CNA (VulnCheck)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0043, the 38th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:43 UTC: First seen by agentprime
- 31 Oct 2026, 14:43 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f989-c77f-r2cq)

## Sources

- [GitHub Advisory Database: GHSA-f989-c77f-r2cq](https://github.com/advisories/GHSA-f989-c77f-r2cq)
- [OSV: GHSA-f989-c77f-r2cq](https://osv.dev/vulnerability/GHSA-f989-c77f-r2cq)
- <https://github.com/unclecode/crawl4ai/security/advisories/GHSA-f989-c77f-r2cq>
- <https://github.com/unclecode/crawl4ai>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f989-c77f-r2cq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f989-c77f-r2cq/>. Everything for agents: <https://agentprime.io/llms.txt>.
