CVE-2026-26216: CWE-94 Improper Control of Generation of Code ('Code Injection') in unclecode Crawl4AI
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.
AI Analysis
Technical Summary
CVE-2026-26216 is a critical remote code execution vulnerability in unclecode's Crawl4AI product affecting versions prior to 0.8.0. The vulnerability arises because the /crawl endpoint accepts a hooks parameter containing Python code executed with exec(). The inclusion of the __import__ builtin in the allowed builtins enables unauthenticated remote attackers to import arbitrary modules and execute system commands. Exploitation can lead to complete server compromise, including arbitrary command execution, file read/write, sensitive data theft, and lateral movement within internal networks.
Potential Impact
Successful exploitation results in full server compromise with arbitrary command execution, file system read and write capabilities, exfiltration of sensitive data, and potential lateral movement within internal networks. The vulnerability requires no authentication and has a network attack vector, making it highly severe.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, avoid exposing the vulnerable /crawl endpoint to untrusted networks and restrict access to trusted users only. Consider disabling or restricting the hooks parameter functionality if possible.
CVE-2026-26216: CWE-94 Improper Control of Generation of Code ('Code Injection') in unclecode Crawl4AI
Description
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.
CVSS v4.0
Score 10.0critical
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-26216 is a critical remote code execution vulnerability in unclecode's Crawl4AI product affecting versions prior to 0.8.0. The vulnerability arises because the /crawl endpoint accepts a hooks parameter containing Python code executed with exec(). The inclusion of the __import__ builtin in the allowed builtins enables unauthenticated remote attackers to import arbitrary modules and execute system commands. Exploitation can lead to complete server compromise, including arbitrary command execution, file read/write, sensitive data theft, and lateral movement within internal networks.
Potential Impact
Successful exploitation results in full server compromise with arbitrary command execution, file system read and write capabilities, exfiltration of sensitive data, and potential lateral movement within internal networks. The vulnerability requires no authentication and has a network attack vector, making it highly severe.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, avoid exposing the vulnerable /crawl endpoint to untrusted networks and restrict access to trusted users only. Consider disabling or restricting the hooks parameter functionality if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-02-11T20:08:07.943Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 698df67cc9e1ff5ad8e88716
Added to database: 02/12/2026, 15:49:16 UTC
Last enriched: 07/15/2026, 11:08:24 UTC
Last updated: 08/24/2026, 11:12:14 UTC
Views: 326
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.