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.
Problem types
Exposure of Sensitive Information to an Unauthorized Actor
Product status
Any version before 0.8.8
0.8.8 (semver)
Credits
geo-chen
References
github.com/...awl4ai/security/advisories/GHSA-f989-c77f-r2cq (GitHub Security Advisory (GHSA-f989-c77f-r2cq))
www.vulncheck.com/...url-and-environment-variable-resolution (VulnCheck Advisory: Crawl4AI - LLM Credential Exfiltration via base_url and Environment Variable Resolution)