Aug 26, 2026·5 min read·24 visits
Unauthenticated loopback HTTP transport in genieacs-mcp prior to 0.3.2 fails to validate Host and Origin headers, enabling remote attackers to bypass the Same-Origin Policy via DNS rebinding and compromise GenieACS administration.
CVE-2026-55637 is a high-severity DNS rebinding vulnerability affecting the genieacs-mcp Model Context Protocol server. Prior to version 0.3.2, the application's Streamable HTTP transport lacks adequate Host and Origin header validation. This omission allows external attackers to bypass the Same-Origin Policy through a victim's browser and issue unauthenticated commands to loopback listeners.
The Model Context Protocol (MCP) server genieacs-mcp serves as an administrative bridge, enabling Large Language Model (LLM) agents to interact with GenieACS TR-069 Auto-Configuration Server (ACS) instances.\n\nBy interfacing directly with the GenieACS Northbound Interface (NBI), this tool exposes administrative functions to control Customer Premises Equipment (CPE) such as home routers, ONTs, and gateways.\n\nIn versions prior to 0.3.2, the application features an unauthenticated streamable HTTP server configured by default to listen on the loopback interface (127.0.0.1:8080). This architectural design assumes that loopback binding provides isolated protection against external threats.\n\nThis trust model is bypassed when an administrative user visits an attacker-controlled website. The external site can perform a DNS rebinding attack, routing cross-origin browser payloads to the local bridge.
The underlying vulnerability originates in the HTTP transport layer handler found within cmd/server/main.go.\n\nBy default, the application runs without requiring an authorization token (MCP_AUTH_TOKEN) if the server binds to loopback, operating on the premise that local sockets are unreachable from external domains.\n\nThe unpatched HTTP transport processes incoming Server-Sent Events (SSE) and JSON-RPC over HTTP requests without verifying the Host or Origin headers.\n\nThis configuration is susceptible to a classic DNS rebinding sequence. An attacker registers a domain name with a low Time-To-Live (TTL) value and configures their DNS server to respond first with a public IP hosting exploit scripts, and subsequently with the loopback IP (127.0.0.1).\n\nBecause the browser associates the active session with the original domain, it maintains the Same-Origin Policy (SOP) context. The browser continues sending requests, which are now routed directly to the unauthenticated loopback interface of the local MCP bridge.
The development history of the project shows an iterative hardening process before the final remediation of the DNS rebinding path.\n\nInitially, commit 8d7d343b905827d9cfa2e099dc9967471866f565 attempted to secure the interface by default-binding to 127.0.0.1. A subsequent commit, bcb91f12cbf61afafcd5b85d1c39147d0c6cca71, mandated authorization tokens only for non-loopback bindings, still leaving localhost sockets exposed.\n\nThe vulnerability was resolved in version 0.3.2 via commit 577306d78190622eee97e362b042a69499ef373f with the implementation of a middleware named dnsRebindGuard. This module explicitly evaluates the HTTP metadata of incoming payloads:\n\ngo\n// dnsRebindGuard rejects requests whose Host header is not in the allowed set,\n// and requests carrying an Origin that is not allowed. This blocks DNS\n// rebinding.\nfunc dnsRebindGuard(next http.Handler, hosts, origins map[string]bool) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {\n\t\tif !hosts[r.Host] {\n\t\t\thttp.Error(w, "forbidden: untrusted Host header", http.StatusForbidden)\n\t\t\treturn\n\t\t}\n\t\tif origin := r.Header.Get("Origin"); origin != "" && !origins[strings.TrimRight(origin, "/")] {\n\t\t\thttp.Error(w, "forbidden: untrusted Origin header", http.StatusForbidden)\n\t\t\treturn\n\t\t}\n\t\tnext.ServeHTTP(w, r)\n\t})\n}\n\n\nThe helper functions utilize standard library packages like net.SplitHostPort and net.JoinHostPort to normalize incoming requests, blocking variations such as subdomain injection while permitting safe, local command-line tool integrations.
To execute the attack, a threat actor must induce a local operator running genieacs-mcp to load a malicious web resource.\n\nmermaid\ngraph LR\n Victim["Victim Browser"] -->|"1. Visits site"| Attacker["Attacker Web Server (Public IP)"]\n Attacker -->|"2. Delivers Exploit JS"| Victim\n Victim -->|"3. Query DNS (TTL=1s)"| DNS["Malicious DNS Server"]\n DNS -->|"4. Rebinds domain to 127.0.0.1"| Victim\n Victim -->|"5. Issues JSON-RPC HTTP requests"| LocalMCP["local genieacs-mcp (127.0.0.1:8080)"]\n LocalMCP -->|"6. Executes commands on ACS NBI"| GenieACS["GenieACS Instance"]\n\n\nUpon accessing the landing page, the malicious JavaScript sends an asynchronous request to an attacker-controlled subdomain. The custom DNS server answers with a TTL of 1 second.\n\nWhen the TTL expires, the script triggers another request to the same domain name. The DNS server answers this resolution query with 127.0.0.1. The browser routes the network packet to localhost on port 8080.\n\nBecause the port, protocol, and host domain matches the initial configuration from the browser's perspective, the script successfully bypasses SOP restrictions, invoking administrative tools such as reboot_device or download_firmware.
An exploitation sequence targeting a genieacs-mcp setup can result in a significant compromise of downstream network assets.\n\nBy exploiting the local MCP server, an external attacker gains the ability to leverage all privileges assigned to the bridge's API key within the GenieACS environment.\n\nThis vector allows attackers to view sensitive configurations, push modified firmware images to managed CPE devices, or execute localized service disruptions by triggering device reboots.\n\nConsequently, the blast radius of this client-side vulnerability extends far beyond the user's workstation, posing a severe risk to carrier-grade network gateways and customer deployments.
Operators must prioritize upgrading their deployments of genieacs-mcp to version 0.3.2 or above.\n\nIf upgrading is not immediately possible, you can mitigate the vulnerability by forcing Stdio mode. Configure the environment variable:\n\nTRANSPORT=stdio\n\nThis setting disables the HTTP socket transport layer completely, eliminating the network attack surface.\n\nIf you require the HTTP transport layer, you must define MCP_AUTH_TOKEN in your environment configuration to enforce bearer token verification, and configure MCP_ALLOWED_HOSTS to define the strict domains authorized to reach the endpoint.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N| Product | Affected Versions | Fixed Version |
|---|---|---|
genieacs-mcp GeiserX | < 0.3.2 | 0.3.2 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-346 (Origin Validation Error) |
| Attack Vector | Network / Browser-Driven DNS Rebinding |
| CVSS v4.0 Score | 8.8 (High) |
| Exploit Status | Proof of Concept |
| CISA KEV Status | Not Listed |
| Remediation Status | Patched in v0.3.2 |
The software does not validate or incorrectly validates the origin of a request, allowing attackers to perform operations under the guise of a trusted client.
An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.
CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.
CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.
The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.
CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.
CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.