PYSEC-2026-33: Crawl4AI < 0.8.0 Docker API Unauthenticated Remote Code Execution via Hooks Parameter

Published Feb 12, 2026
·
Updated

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.

Affected Software

1 affected component
Crawl4AI Crawl4AI<0.8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Crawl4AI to a version that resolves this vulnerability.

    Fixed in 0.8.0

Event History

Feb 12, 2026
CVE Published
via OSV·03:31 PM
Data Sourced
via OSV·03:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects Crawl4AI versions earlier than 0.8.0 when deployed through its Docker API. Exposure requires the /crawl endpoint to be reachable by an attacker.

2

Does exploitation require authentication or user interaction?

No. An unauthenticated remote attacker can exploit the vulnerable hooks parameter, and no user interaction is required.

3

What level of access can an attacker obtain?

Successful exploitation can result in full server compromise, including arbitrary command execution, file read and write access, sensitive-data exfiltration, and lateral movement within internal networks.

4

What version addresses the vulnerability?

Version 0.8.0 addresses the issue. Deployments running a version earlier than 0.8.0 should be treated as affected if their Docker API /crawl endpoint is exposed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203