CVE-2026-26216

Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed builtins, allowing unauthenticated remote attackers to import arbitrary modules and execute system commands. Successful exploitation allows full server compromise, including arbitrary command execution, file read and write access, sensitive data exfiltration, and lateral movement within internal networks.
Configurations

Configuration 1 (hide)

cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:25

Type Values Removed Values Added
Summary
  • (es) Las versiones de Crawl4AI anteriores a la 0.8.0 contienen una vulnerabilidad de ejecución remota de código en el despliegue de la API de Docker. El endpoint /crawl acepta un parámetro hooks que contiene código Python que se ejecuta usando exec(). La función incorporada __import__ se incluyó en las funciones incorporadas permitidas, lo que permite a atacantes remotos no autenticados importar módulos arbitrarios y ejecutar comandos del sistema. La explotación exitosa permite el compromiso total del servidor, incluyendo la ejecución arbitraria de comandos, acceso de lectura y escritura de archivos, exfiltración de datos sensibles y movimiento lateral dentro de redes internas.

20 Feb 2026, 16:52

Type Values Removed Values Added
CPE cpe:2.3:a:kidocode:crawl4ai:*:*:*:*:*:*:*:*
References () https://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.8.0.md - () https://github.com/unclecode/crawl4ai/blob/main/docs/blog/release-v0.8.0.md - Release Notes
References () https://github.com/unclecode/crawl4ai/security/advisories/GHSA-5882-5rx9-xgxp - () https://github.com/unclecode/crawl4ai/security/advisories/GHSA-5882-5rx9-xgxp - Mitigation, Vendor Advisory
References () https://www.vulncheck.com/advisories/crawl4ai-docker-api-unauthenticated-remote-code-execution-via-hooks-parameter - () https://www.vulncheck.com/advisories/crawl4ai-docker-api-unauthenticated-remote-code-execution-via-hooks-parameter - Third Party Advisory
First Time Kidocode
Kidocode crawl4ai

12 Feb 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-12 16:16

Updated : 2026-07-14 16:16


NVD link : CVE-2026-26216

Mitre link : CVE-2026-26216

CVE.ORG link : CVE-2026-26216


JSON object : View

Products Affected

kidocode

  • crawl4ai
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')