Em resumo
- CVE-2026-26217 é uma vulnerabilidade ALTO (CVSS 7.5) que afeta crawl4ai, crawl4ai (kidocode).
- Chance de exploração nos próximos 30 dias (EPSS): 2.1%, maior que 81.7% das vulnerabilidades.
- Correção: atualize para 0.8.0 ou posterior.
| 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