ADVISORIES

PyPA Advisory Database

PYSEC-2026-3448

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIcrawl4ai
All versions before 0.8.8 (fixed in 0.8.8)

References