要点
- CVE-2026-26217 是影响 crawl4ai, crawl4ai (kidocode) 的高危 (CVSS 7.5)漏洞。
- 未来 30 天内被利用的概率(EPSS):2.1%,高于 81.7% 的漏洞。
- 修复:升级到 0.8.0 或更高版本。
| Package | Affected versions | Patched versions |
|---|
| crawl4ai PyPI | < 0.8.0
| 0.8.0
|
| crawl4ai | < 0.8.0
| 0.8.0
|
Description
A local file inclusion vulnerability exists in the Crawl4AI Docker API. The /execute_js, /screenshot, /pdf, and /html endpoints accept file:// URLs, allowing attackers to read arbitrary files from the server filesystem.
Attack Vector:
POST /execute_js
{
"url": "file:///etc/passwd",
"scripts": ["document.body.innerText"]
}
Impact
An unauthenticated attacker can:
- Read sensitive files (/etc/passwd, /etc/shadow, application configs)
- Access environment variables via /proc/self/environ
- Discover internal application structure
- Potentially read credentials and API keys
Workarounds
- Disable the Docker API
- Add authentication to the API
- Use network-level filtering
NVD description
Crawl4AI versions prior to 0.8.0 contain a local file inclusion vulnerability in the Docker API deployment. The /execute_js, /screenshot, /pdf, and /html endpoints accept file:// URLs, allowing unauthenticated remote attackers to read arbitrary files from the server filesystem. An attacker can access sensitive files such as /etc/passwd, /etc/shadow, application configuration files, and environment variables via /proc/self/environ, potentially exposing credentials, API keys, and internal application structure.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free