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 Crawl4AI before version 0.8.0. The vulnerability arises because the /crawl endpoint accepts a hooks parameter containing Python code executed with exec(), and the __import__ builtin is included in the allowed builtins. This improper control of code generation (CWE-94) allows unauthenticated attackers to import arbitrary modules and execute system commands remotely. Exploitation can lead to full server compromise, including arbitrary command execution, file read/write access, sensitive data exfiltration, and lateral movement within internal networks.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to achieve full server compromise. This includes arbitrary command execution on the host, reading and writing files, exfiltrating sensitive data, and moving laterally within internal networks. The vulnerability has a CVSS 4.0 base score of 10.0, indicating maximum severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, availability, and security requirements.
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 or unauthenticated users. Consider disabling or restricting the use of the hooks parameter if possible to prevent execution of arbitrary code.
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 Crawl4AI before version 0.8.0. The vulnerability arises because the /crawl endpoint accepts a hooks parameter containing Python code executed with exec(), and the __import__ builtin is included in the allowed builtins. This improper control of code generation (CWE-94) allows unauthenticated attackers to import arbitrary modules and execute system commands remotely. Exploitation can lead to full server compromise, including arbitrary command execution, file read/write access, sensitive data exfiltration, and lateral movement within internal networks.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to achieve full server compromise. This includes arbitrary command execution on the host, reading and writing files, exfiltrating sensitive data, and moving laterally within internal networks. The vulnerability has a CVSS 4.0 base score of 10.0, indicating maximum severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, availability, and security requirements.
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 or unauthenticated users. Consider disabling or restricting the use of the hooks parameter if possible to prevent execution of arbitrary code.
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: 06/24/2026, 15:06:23 UTC
Last updated: 07/09/2026, 07:52:29 UTC
Views: 297
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.