CVE-2026-116066: Firecrawl (< 2.11.586) Playwright Service SSRF Protection Bypass via DNS Rebinding & Companion Agentic AI / GEO Flaws in Leon & NiubiGEO (CVE-2026-116073, CVE-2026-116069)
Critical agentic AI web-scraping, personal assistant model downloader, and Generative Engine Optimization (GEO) vulnerability cluster flagged by VulnCheck Initial Access Intelligence on October 26, 2026. Under CVE-2026-116066 (CVSS 8.6 / VulnCheck Weaponized 9.5), Mendable.ai Firecrawl prior to version 2.11.586 validates target URLs against private and link-local IP ranges using a pre-flight DNS lookup (isInternalHost) before passing the original hostname to the Playwright headless Chromium rendering service. Because Chromium performs an independent second DNS resolution at socket connection time, an attacker operating an authoritative DNS server with TTL=0 can execute a Time-of-Check to Time-of-Use (TOCTOU) DNS rebinding attackโreturning a benign public IP during pre-flight validation and 169.254.169.254 (cloud metadata) or 127.0.0.1 during Playwright navigation, exfiltrating cloud IAM credentials directly into the LLM/RAG Markdown response. Dissected alongside Leon AI (< commit 50df142) percent-encoded path traversal arbitrary file write in getModelFileNameFromURL() via the /download model command (CVE-2026-116073) and NiubiGEO (< 0.3.2) unauthenticated SSRF via the /audit-plan domain field (CVE-2026-116069).
HERMES THREAT SCORE & AGENTIC AI / RAG INGESTION EVALUATION
Target:Firecrawl Playwright Service SSRF Proxy (isInternalHost), Leon AI getModelFileNameFromURL() (/download model) & NiubiGEO /audit-plan Endpoint Standard CVSS v3.1 metrics score CVE-2026-116066 at 8.6 (High) focusing on read-only SSRF impact, whereas VulnCheck evaluates this weaponized agentic web-scraping and AI model-loader cluster at 9.5 (Critical). The Hermes Threat Score assigns 95 (CRITICAL) with a Hermes Agentic Security Score (HASS) of 97 (EXTREME). Firecrawl is the de facto headless-browser ingestion backbone for autonomous RAG pipelines, Model Context Protocol (MCP) web-search tools, and deep-research agents. Because Firecrawl (< 2.11.586) validates the hostname via isInternalHost() in a pre-flight DNS query before handing the raw URL to Chromium/Playwrightโwhich performs an independent second DNS lookupโan attacker-controlled authoritative DNS server (TTL=0) trivially rebinds the target to 169.254.169.254 or internal Kubernetes microservices, returning cloud IAM credentials directly in the Markdown scrape response. Paired with Leon AI's percent-encoded path traversal in getModelFileNameFromURL() during /download model execution (CVE-2026-116073) and NiubiGEO's unauthenticated /audit-plan SSRF (CVE-2026-116069), this cluster enables zero-click cloud credential theft and arbitrary file overwrite across agentic AI infrastructure.
CVE-2026-116066: Firecrawl (< 2.11.586) Playwright Service SSRF Protection Bypass via DNS Rebinding & Companion Agentic AI / GEO Flaws in Leon & NiubiGEO (CVE-2026-116073, CVE-2026-116069)VULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Mendable.ai Firecrawl AI Web Scraping Engine documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Adversary injects explicit formatting tags or role-inversion prompts directly into user input to strip system instructions and escape developer-enforced guardrails.
๐ Why is this related? (Evidence & Provenance)
“CVE-2026-116066 weaponizes the agentic attack pattern formalized under AAP-001.”
- [technical_analysis]Pillar Security demonstrated that executing export BASH_ENV in Auto-Run causes bash to source hostile payloads upon subsequent commands. — Source: Pillar Security Research: Bypassing Cursor Auto-Run: When Shell Built-ins Lead to Host RCE (Reliability: HIGH)
Adversarial subversion of structured tool execution arguments (SQL, Shell, Filepath) passed from an LLM agent to host OS tools or MCP endpoints.
๐ Why is this related? (Evidence & Provenance)
“CVE-2026-116066 weaponizes the agentic attack pattern formalized under AAP-003.”
- [technical_analysis]Pillar Security demonstrated that executing export BASH_ENV in Auto-Run causes bash to source hostile payloads upon subsequent commands. — Source: Pillar Security Research: Bypassing Cursor Auto-Run: When Shell Built-ins Lead to Host RCE (Reliability: HIGH)
Executive Summary
Section titled โExecutive SummaryโOn October 26, 2026, VulnCheck Initial Access Intelligence and the National Vulnerability Database (NVD) published three high-priority weaponized advisories targeting AI-native headless web scraping engines (Mendable.ai Firecrawl), open-source AI personal assistants (Leon AI), and Generative Engine Optimization (GEO) AI visibility platforms (NiubiGEO):
- CVE-2026-116066 (
CWE-918/CWE-350/CWE-367, CVSS 8.6 High / VulnCheck 9.5 Weaponized โ Firecrawl< 2.11.586SSRF Protection Bypass via DNS Rebinding in Playwright Service): Firecrawl (mendableai/firecrawl), the foundational open-source and self-hosted web-to-Markdown scraping engine powering LangChain, LlamaIndex, Dify, and Model Context Protocol (MCP) browser tools, attempts to block Server-Side Request Forgery (SSRF) by resolving user-supplied URLs viaisInternalHost()before launching a headless browser session. However, in versions prior to2.11.586, the Playwright service (apps/playwright-service-ts) performs this DNS validation at the application layer and then passes the original unpinned URL string to Chromium (page.goto(url)). Using a DNS rebinding attack (TTL=0), an attacker returns a safe public IP duringisInternalHost()and immediately switches the DNSArecord to169.254.169.254(AWS/GCP/Azure IMDS),127.0.0.1, or internal VPC endpoints when Playwright connectsโreturning internal secrets rendered as clean Markdown to the calling AI agent (AAP-001/AAP-003). - CVE-2026-116073 (
CWE-22, CVSS 8.8 / VulnCheck 9.5 Weaponized โ Leon AI< commit 50df142Arbitrary File Write via/download modelPath Traversal): In Leon (leon-ai/leon), an open-source personal AI assistant, the built-in/download model <url>chat/CLI command extracts the destination filename from the remote URL usinggetModelFileNameFromURL(). Prior to commit50df142(50df142a89a0859e5b7283d87afdab7b01e712a2),getModelFileNameFromURL()URL-decoded the last path segment without stripping../traversal sequences or applyingpath.basename(). A crafted model URL containing percent-encoded traversal (%2e%2e%2f) writes the downloaded payload outside the intended models directory to any filesystem path writable by the Leon process. - CVE-2026-116069 (
CWE-918, CVSS 8.6 / VulnCheck 9.5 Weaponized โ NiubiGEO< 0.3.2Unauthenticated SSRF via/audit-plandomainField): In NiubiGEO (an AI brand visibility and Generative Engine Optimization auditing tool), the unauthenticated/audit-planAPI endpoint accepts adomainfield and initiates server-side HTTP fetches without restricting IP literals,localhost, RFC 1918 private subnets, or link-local metadata addresses (169.254.169.254).
Technical Root Cause Analysis & Code Dissection
Section titled โTechnical Root Cause Analysis & Code Dissectionโ1. CVE-2026-116066: Firecrawl (< 2.11.586) TOCTOU DNS Rebinding in Playwright Service
Section titled โ1. CVE-2026-116066: Firecrawl (< 2.11.586) TOCTOU DNS Rebinding in Playwright ServiceโWhen an AI agent or API client submits a scrape request (POST /v1/scrape) to a self-hosted Firecrawl deployment running version < 2.11.586, the request is routed to the Playwright rendering microservice. To prevent attackers from scraping internal infrastructure, the service implements an SSRF guard (isInternalHost) that resolves the hostname and checks whether the resulting IPv4/IPv6 address falls within private, loopback, or link-local ranges:
// VULNERABLE PATTERN: Mendable.ai Firecrawl < 2.11.586 (CVE-2026-116066)// Component: Playwright Service SSRF Guard & Navigation Handlerimport dns from 'node:dns/promises';import ipaddr from 'ipaddr.js';
async function isInternalHost(hostname: string): Promise<boolean> { // STEP 1 (Time-of-Check): Node.js resolves the hostname via OS/c-ares DNS lookup. // Attacker's authoritative DNS server responds with 93.184.216.34 (Public IP, TTL=0). const { address } = await dns.lookup(hostname); const parsed = ipaddr.parse(address); const range = parsed.range(); return ['private', 'loopback', 'linkLocal', 'uniqueLocal', 'unspecified'].includes(range);}
export async function scrapeWithPlaywright(url: string) { const parsedUrl = new URL(url);
// Pre-flight check passes because the first DNS query returned 93.184.216.34! if (await isInternalHost(parsedUrl.hostname)) { throw new Error('SSRF Blocked: Internal host access is forbidden'); }
// STEP 2 (Time-of-Use โ CWE-367 / CWE-918): // Chromium / Playwright navigates to the raw `url` string (`http://rebind.attacker.com/latest/meta-data/`). // Because TTL=0, Chromium's network service performs a SECOND DNS lookup, which now resolves // to 169.254.169.254 (or 127.0.0.1:6379 / internal Kubernetes service) without re-running isInternalHost()! const page = await browserContext.newPage(); await page.goto(url, { waitUntil: 'networkidle' }); return await page.content();}In version 2.11.586, Firecrawl hardened its Playwright service proxy layer to validate resolved IP addresses at the proxy/interception boundary rather than relying solely on a pre-navigation check, and documented that self-hosted deployments should enforce an egress PROXY_SERVER blocking RFC 1918 and link-local destinations at the network socket level.
2. CVE-2026-116073: Leon AI (< commit 50df142) Percent-Encoded Path Traversal in /download model
Section titled โ2. CVE-2026-116073: Leon AI (< commit 50df142) Percent-Encoded Path Traversal in /download modelโIn Leon AI (leon-ai/leon), users and skills can download LLM weights or voice models via the /download model <url> command. The helper function getModelFileNameFromURL() in the model downloader extracted the filename from the URL path and decoded percent-encoded characters after splitting on /:
// VULNERABLE PATTERN: Leon AI < commit 50df142 (CVE-2026-116073)// Component: Model Download Utility (getModelFileNameFromURL)import path from 'node:path';import fs from 'node:fs';
function getModelFileNameFromURL(modelUrl: string): string { const parsedUrl = new URL(modelUrl); // Splits on literal '/' first: the last segment is "%2e%2e%2f%2e%2e%2f.ssh%2fauthorized_keys" const segments = parsedUrl.pathname.split('/'); const rawFileName = segments[segments.length - 1];
// FLAW (CWE-22): decodeURIComponent() converts "%2e%2e%2f" into "../" AFTER the '/' split! // No path.basename() or canonical path containment check is performed afterwards. return decodeURIComponent(rawFileName);}
async function downloadModel(modelUrl: string, modelsDir: string) { const fileName = getModelFileNameFromURL(modelUrl); // Resolves outside `modelsDir` to arbitrary writable filesystem paths! const destinationPath = path.join(modelsDir, fileName); const writer = fs.createWriteStream(destinationPath); // ... streams attacker-controlled HTTP response body to destinationPath ...}In commit 50df142 (50df142a89a0859e5b7283d87afdab7b01e712a2), Leon AI sanitized the extracted filename with path.basename() after URI decoding and verified that the resolved path stays strictly inside the designated models directory.
3. CVE-2026-116069: NiubiGEO (< 0.3.2) Unauthenticated /audit-plan SSRF
Section titled โ3. CVE-2026-116069: NiubiGEO (< 0.3.2) Unauthenticated /audit-plan SSRFโIn NiubiGEO prior to 0.3.2, the /audit-plan endpoint accepts an unauthenticated JSON request containing a domain field (intended to fetch a target websiteโs robots.txt, llms.txt, and homepage for AI visibility scoring). Because the backend concatenates or parses domain directly into an outbound HTTP client without authentication or IP range filtering, supplying "domain": "http://169.254.169.254/latest/meta-data/iam/security-credentials/" or "domain": "127.0.0.1:8080/admin" allows unauthenticated attackers to probe loopback services and cloud metadata endpoints.
flowchart TD subgraph FirecrawlRebind["CVE-2026-116066: Firecrawl (< 2.11.586) Playwright DNS Rebinding SSRF"] F1["Attacker Submits URL (rebind.attacker.com) to Firecrawl Scrape API / MCP Tool"] F2["Lookup 1 (isInternalHost): Authoritative DNS Returns 93.184.216.34 (TTL=0) -> PASS"] F3["Lookup 2 (Playwright Chromium page.goto): DNS Rebinds to 169.254.169.254 / 127.0.0.1"] F4["Cloud IAM Metadata / Internal VPC Response Returned as Markdown to Agent"] F1 --> F2 --> F3 --> F4 end
subgraph LeonNiubi["CVE-2026-116073 (Leon AI) & CVE-2026-116069 (NiubiGEO < 0.3.2)"] L1["CVE-2026-116073: /download model URL with %2e%2e%2f<br/>getModelFileNameFromURL() Decodes '../' -> Arbitrary File Write"] N1["CVE-2026-116069: Unauthenticated POST /audit-plan with Internal domain<br/>Direct Server-Side Fetch to Loopback & Cloud IMDS"] end
style F3 fill:#ff1a1a,stroke:#800000,color:#ffffff style F4 fill:#ff4d4d,stroke:#990000,color:#ffffff style L1 fill:#ff1a1a,stroke:#800000,color:#ffffff style N1 fill:#ff6600,stroke:#993300,color:#ffffffForensic Analysis & Detection Engineering
Section titled โForensic Analysis & Detection EngineeringโTo detect exploitation of Firecrawl Playwright DNS rebinding (CVE-2026-116066), Leon AI /download model path traversal (CVE-2026-116073), and NiubiGEO /audit-plan SSRF (CVE-2026-116069), deploy the following multi-layered detection suite:
title: Agentic AI SSRF & Path Traversal in Firecrawl Playwright, Leon AI & NiubiGEO (CVE-2026-116066 / CVE-2026-116073 / CVE-2026-116069)id: 116066a1-2026-4c88-9b11-firecrawlleon26status: experimentaldescription: Detects headless Chromium/Playwright processes initiated by Firecrawl connecting to link-local cloud metadata (169.254.169.254), Leon AI /download model percent-encoded path traversal, or NiubiGEO /audit-plan SSRF probes.references: - https://vulncheck.com/advisories/firecrawl-before-2.11.586-ssrf-protection-bypass-via-dns-rebinding-in-playwright-service - https://vulncheck.com/advisories/leon-before-commit-50df142-path-traversal-via-download-model-command - https://vulncheck.com/advisories/niubigeo-before-0.3.2-unauthenticated-ssrf-via-audit-plan-domain-fieldauthor: Hermes Threat Intelligencedate: 2026/10/26logsource: category: network_connection product: linuxdetection: selection_playwright_imds: Image|endswith: - '/chrome' - '/chromium' - '/headless_shell' DestinationIp: - '169.254.169.254' - '100.100.100.200' - '127.0.0.1' condition: selection_playwright_imdsfalsepositives: - Local healthcheck probes specifically targeting a known loopback portlevel: criticaltags: - attack.initial_access - attack.credential_access - attack.t1552.005 - attack.t1190 - cve.2026-116066 - cve.2026-116073 - cve.2026-116069// Azure Sentinel / Microsoft Defender KQL: Detect DNS Rebinding to RFC1918/IMDS & Leon/NiubiGEO Exploitationlet InternalRanges = dynamic(["169.254.169.254", "127.0.0.1", "10.", "172.16.", "192.168."]);union( DnsEvents | where TimeGenerated > ago(24h) | where IPAddresses has_any (InternalRanges) | where Name !endswith ".internal" and Name !endswith ".local" and Name !endswith ".corp" | project TimeGenerated, Computer, QueryName = Name, ResolvedIPs = IPAddresses, Detection = "CVE-2026-116066_DNS_Rebinding_To_Internal_IP"),( AppServiceHTTPLogs | where TimeGenerated > ago(24h) | where (CsUriStem has "/audit-plan" or CsUriStem has "/v1/scrape" or CsUriQuery has "%2e%2e%2f") | project TimeGenerated, Computer = _ResourceId, QueryName = CsUriStem, ResolvedIPs = CImdsOrClientIP = CIp, Detection = "CVE-2026-116066_116073_116069_API_Probe")#!/usr/bin/env bash# Hermes Forensic Audit Script for Firecrawl (CVE-2026-116066), Leon AI (CVE-2026-116073) & NiubiGEO (CVE-2026-116069)set -euo pipefail
echo "[*] 1. Checking Firecrawl deployment version and PROXY_SERVER configuration (CVE-2026-116066)..."grep -rn "2\.11\." package.json apps/*/package.json 2>/dev/null || trueif [ -f ".env" ]; then grep -E "^PROXY_SERVER=" .env || echo "[!] WARNING: PROXY_SERVER is not set in .env for Firecrawl Playwright service!"fi
echo "[*] 2. Auditing Leon AI repository for commit 50df142 fix in getModelFileNameFromURL (CVE-2026-116073)..."grep -rn "getModelFileNameFromURL" . 2>/dev/null || true
echo "[*] 3. Checking NiubiGEO version (< 0.3.2 vulnerable to CVE-2026-116069)..."grep -rn "audit-plan" . 2>/dev/null || trueRemediation & Hardening Directives
Section titled โRemediation & Hardening Directivesโ- Upgrade Firecrawl to
>= 2.11.586& Enforce Egress Proxy Pinning (CVE-2026-116066):- Upgrade all self-hosted Firecrawl instances and Playwright microservice containers to version
2.11.586or later. - Configure the
PROXY_SERVERenvironment variable for the Playwright service to route all headless Chromium traffic through a hardened egress proxy (such asegress-filteror Envoy/Squid with DNS pinning) that blocks169.254.169.254/32,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16, andfc00::/7at the TCP connection socket level, and enforce IMDSv2 (HttpPutResponseHopLimit = 1) on all cloud worker nodes.
- Upgrade all self-hosted Firecrawl instances and Playwright microservice containers to version
- Patch Leon AI Model Downloader (
CVE-2026-116073):- Update Leon AI (
leon-ai/leon) to commit50df142(50df142a89a0859e5b7283d87afdab7b01e712a2) or later so thatgetModelFileNameFromURL()appliespath.basename()afterdecodeURIComponent()and validates destination path containment before writing model weights to disk.
- Update Leon AI (
- Upgrade NiubiGEO to
>= 0.3.2(CVE-2026-116069):- Upgrade NiubiGEO to version
0.3.2or later, require authentication on/audit-plan, and enforce strict IP-level SSRF filtering on the resolved socket address.
- Upgrade NiubiGEO to version