VDB
Sign up
HIGH7.5

PYSEC-2026-34

Quick fix

PYSEC-2026-34 — crawl4ai: upgrade to the fixed version with the command below.

pip install --upgrade 'crawl4ai>=0.8.0'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/crawl4ai
Introduced in: 0Fixed in: 0.8.0
Fixpip install --upgrade 'crawl4ai>=0.8.0'

References