Lucene search
+L

crawl4ai CVE-2026-91940 detect

🗓️ 26 Oct 2026 17:01:54Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 7 Views

Untrusted PDFContentScrapingStrategy in crawl4ai allows arbitrary write.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2026-91940
8 Oct 202620:54
–githubexploit
circl
Circl
CVE-2026-91940
8 Oct 202621:00
–circl
cve
CVE
CVE-2026-91940
15 Sep 202615:18
–cve
cvelist
Cvelist
CVE-2026-91940 crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy
15 Sep 202615:18
–cvelist
euvd
EUVD
EUVD-2026-78797
15 Sep 202615:18
–euvd
kittysploit
KittySploit
crawl4ai CVE-2026-91940 arbitrary file write
26 Oct 202617:01
–kittysploit
mend
Mend
CVE-2026-91940
15 Sep 202615:18
–mend
nvd
NVD
CVE-2026-91940
15 Sep 202616:17
–nvd
osv_cve
osv_cve
CVE-2026-91940 crawl4ai before 0.9.3 Arbitrary File Write via PDFContentScrapingStrategy
15 Sep 202615:18
–osv_cve
ptsecurity
Positive Technologies
PT-2026-92059
15 Sep 202600:00
–ptsecurity
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Detect crawl4ai API CVE-2026-91940 exposure."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        "name": "crawl4ai CVE-2026-91940 detect",
        "description": (
            "Detects crawl4ai HTTP API (POST /crawl) vulnerable to CVE-2026-91940 "
            "(untrusted PDFContentScrapingStrategy image_save_dir arbitrary write < 0.9.3)."
        ),
        "author": ["KittySploit Team"],
        "severity": "critical",
        "cve": ["CVE-2026-91940"],
        "references": [
            "https://nvd.nist.gov/vuln/detail/CVE-2026-91940",
            "https://github.com/BiiTts/CVE-2026-91940-crawl4ai-Arbitrary-File-Write",
        ],
        "tags": ["scanner", "crawl4ai", "file-write", "cve-2026-91940"],
        "agent": {
            "risk": "active",
            "effects": ["network_probe"],
            "expected_requests": 2,
            "reversible": True,
            "approval_required": False,
            "produces": ["tech_hints", "endpoints"],
            "chain": {
                "suggested_followups": [
                    "exploits/multi/http/crawl4ai_cve_2026_91940_file_write",
                ],
            },
        },
    }

    port = OptPort(11235, "crawl4ai API port", required=False)
    ssl = OptBool(False, "Use HTTPS", required=False, advanced=True)
    api_path = OptString("/health", "Health or docs path", required=False)

    def run(self):
        for path in (str(self.api_path or "/health"), "/", "/docs"):
            response = self.http_request(method="GET", path=path, allow_redirects=True)
            if not response or int(response.status_code or 0) != 200:
                continue
            body = (response.text or "").lower()
            if "crawl" in body or "crawl4ai" in body:
                self.set_info(
                    severity="critical",
                    reason="crawl4ai-style API responding",
                    path=path,
                )
                return True

        crawl_probe = self.http_request(
            method="POST",
            path="/crawl",
            headers={"Content-Type": "application/json"},
            data='{"urls":["http://127.0.0.1/"]}',
            allow_redirects=False,
        )
        if crawl_probe and int(crawl_probe.status_code or 0) in (400, 401, 422, 500):
            self.set_info(severity="critical", reason="POST /crawl endpoint present", path="/crawl")
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

26 Oct 2026 17:01Current
6.2Medium risk
Vulners AI Score6.2
CVSS 3.17.5
CVSS 48.7
EPSS0.0046
SSVC
7