Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-26217: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in unclecode Crawl4AI

0
Critical
VulnerabilityCVE-2026-26217cvecve-2026-26217cwe-22
Published: Thu Feb 12 2026 (02/12/2026, 15:33:27 UTC)
Source: CVE Database V5
Vendor/Project: unclecode
Product: Crawl4AI

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/19/2026, 16:27:38 UTC

Technical Analysis

CVE-2026-26217 is a critical security vulnerability classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal) found in unclecode's Crawl4AI software versions prior to 0.8.0. The vulnerability resides in the Docker API deployment of Crawl4AI, specifically in the endpoints /execute_js, /screenshot, /pdf, and /html, which accept file:// URLs as input parameters. Due to insufficient validation and sanitization of these file paths, unauthenticated remote attackers can craft requests that cause the application to read arbitrary files from the server's filesystem. This includes highly sensitive files such as /etc/passwd and /etc/shadow on Unix-like systems, which contain user account information and password hashes, respectively. Additionally, attackers can access application configuration files and environment variables via /proc/self/environ, potentially exposing secrets like API keys and internal application structure details. The vulnerability does not require any authentication or user interaction, making it trivially exploitable remotely over the network. The CVSS v4.0 base score is 9.2 (critical), reflecting the ease of exploitation and the severe impact on confidentiality. No known public exploits have been reported yet, but the risk is significant given the nature of the data accessible through this flaw. The root cause is the improper limitation of pathname inputs, allowing traversal outside intended directories. The vulnerability affects all Crawl4AI versions prior to 0.8.0, and no official patches or mitigations have been linked yet, highlighting the urgency for affected users to upgrade once a fix is released or implement immediate workarounds.

Potential Impact

The impact of CVE-2026-26217 is severe for organizations deploying Crawl4AI in Docker environments. Successful exploitation allows attackers to read arbitrary files on the host server without any authentication, leading to a complete breach of confidentiality. Exposure of system files like /etc/passwd and /etc/shadow can facilitate further attacks such as privilege escalation or lateral movement within the network. Access to environment variables and configuration files can reveal sensitive credentials, API keys, and internal application logic, potentially compromising other integrated systems and services. This can lead to data breaches, unauthorized access to critical infrastructure, and disruption of business operations. Given the unauthenticated remote exploitability, attackers can easily scan for vulnerable instances and automate attacks at scale. Organizations relying on Crawl4AI for web crawling or data extraction may face significant operational and reputational damage if exploited. The vulnerability also increases the attack surface for advanced persistent threats (APTs) targeting intellectual property or sensitive data. Without timely mitigation, the risk of exploitation and subsequent damage remains high.

Mitigation Recommendations

To mitigate CVE-2026-26217, organizations should prioritize upgrading Crawl4AI to version 0.8.0 or later once the vendor releases a patch addressing this vulnerability. Until an official fix is available, immediate mitigations include disabling or restricting access to the vulnerable endpoints (/execute_js, /screenshot, /pdf, /html) in the Docker API deployment. Implement strict input validation and sanitization to reject file:// URLs or any input that attempts directory traversal sequences (e.g., ../). Employ network-level access controls such as firewall rules or API gateways to limit exposure of Crawl4AI services to trusted internal networks only. Monitor logs for suspicious requests containing file:// URLs or unusual file access patterns. Use container security best practices, including running containers with least privilege and read-only filesystem mounts where feasible. Conduct regular security audits and penetration tests to detect similar path traversal issues. Additionally, consider implementing runtime application self-protection (RASP) or web application firewalls (WAFs) with custom rules to block exploitation attempts. Finally, educate DevOps and security teams about the risks of improper path handling and enforce secure coding standards in development pipelines.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-02-11T20:08:07.944Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 698df67cc9e1ff5ad8e8871a

Added to database: 2/12/2026, 3:49:16 PM

Last enriched: 2/19/2026, 4:27:38 PM

Last updated: 3/29/2026, 8:30:00 PM

Views: 209

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses