Oct 10, 2026·6 min read·15 visits
Nginx UI stages incoming request bodies to temporary disk storage before verifying node signatures. Unauthenticated remote attackers can exhaust disk space and cause a denial of service.
Nginx UI versions 2.5.0 through 2.5.10 contain an uncontrolled resource consumption vulnerability in the node authentication handler. Unauthenticated remote attackers can exhaust host disk storage and I/O resources by submitting large HTTP request bodies to node-signature endpoints prior to cryptographic signature validation.
Nginx UI is an open-source web interface designed for managing Nginx web server configurations. Between versions 2.5.0 and 2.5.10, the application includes a node authentication module in internal/nodeauth that processes node-signature HTTP requests. This endpoint allows clustered management nodes to submit operational payloads and synchronize configurations across infrastructure deployments.
The node authentication mechanism includes handlers such as verifyRequest and verifySharedSecretRequest. When incoming HTTP requests reach these endpoints, the system evaluates header metadata and computes body content digests to verify the authenticity and cryptographic integrity of remote nodes before granting access to administrative functionality.
A logic flaw in the request processing pipeline causes the server to execute temporary file staging and body content digest calculation before performing credential verification, replay nonce lookup, or cryptographic signature checks. An unauthenticated attacker capable of sending network traffic to the node authentication API can exhaust disk space, storage I/O, and operating system file descriptors on the host machine.
The root cause of CVE-2026-107805 stems from an inverted processing order in internal/nodeauth/signature.go and internal/nodeauth/body.go. In affected releases, verifyRequest and verifySharedSecretRequest invoked stageRequestBody(request) as the initial step in request processing. This function executed prior to validating credential existence, checking replay nonces, or verifying Ed25519 or SHA-256 signatures.
When stageRequestBody is called, it executes os.CreateTemp("", "nginx-ui-node-request-body-*") to create a temporary file on the host filesystem. The handler then streams the complete HTTP request body into this temporary file while simultaneously writing to an io.MultiWriter to calculate a SHA-256 digest of the incoming payload.
Because no body size limit or pre-authentication check was enforced, an attacker can transmit HTTP POST requests containing arbitrary body payloads. The server commits the incoming payload to temporary disk storage before reaching signature verification logic. Upon signature validation failure, the temporary file is unlinked, but sustained high-concurrency requests consume available disk capacity, disk write throughput, and file handles.
An analysis of internal/nodeauth/signature.go in version 2.5.10 shows that stageRequestBody was called immediately after basic parameter validation, but before signature parsing or credential checks. The original vulnerable flow operated as follows:
// Vulnerable execution sequence in internal/nodeauth/signature.go
contentDigest, err := stageRequestBody(request)
if err != nil {
return nil, err
}
signature, err := parseSignature(request.Header, ed25519.SignatureSize)
if err != nil {
return nil, err
}In patch commit 8c9b9a1aff218ee6c980d047b750e49da3c46796, the execution flow was modified to extract header information first and defer disk staging until header parsing, credential database lookups, and replay nonce verifications complete successfully:
// Patched execution sequence in internal/nodeauth/signature.go
receivedDigest, err := requestContentDigest(request)
if err != nil {
return nil, err
}
signature, err := parseSignature(request.Header, ed25519.SignatureSize)
if err != nil {
return nil, err
}
// Replay cache validation occurs prior to body staging
if replayCache == nil || !replayCache.Use(metadata.credentialID+":"+metadata.nonce, now) {
return nil, errors.New("node request nonce was already used")
}
// Body digest staging is executed only after all header checks succeed
if err := verifyRequestBodyDigest(request, receivedDigest); err != nil {
return nil, err
}Additionally, internal/nodeauth/body.go was updated to enforce a maximum body size cap using const maxStagedRequestBodySize int64 = 128 << 20 (128 MB). The stageRequestBodyWithLimit function validates request.ContentLength against this threshold and wraps body streaming in io.LimitReader(request.Body, limit) to prevent unbounded resource consumption during payload transfer.
Exploiting this flaw does not require valid authentication credentials, valid cryptographic keypairs, or existing session state. The attacker only requires network access to the Nginx UI node management interface. targeted endpoints process node signature headers and attempt to buffer incoming request bodies regardless of signature validity.
The attack methodology involves sending HTTP requests to node authentication routes with syntactically formed signature headers. The attacker populates the request body with arbitrary data up to the bandwidth limit of the network path. As Nginx UI processes the request, stageRequestBody writes the incoming byte stream to temporary files on the host disk system.
Although temporary files are deleted after request processing terminates, parallel request execution or continuous high-throughput streams overwhelm host resources. Concurrent streams consume available space in /tmp or TMPDIR, causing storage exhaustion, elevated I/O wait times, and operating system file descriptor depletion. This prevents standard application operations and leads to system failure.
CVE-2026-107805 carries a CVSS v3.1 base score of 7.5 (High), defined by vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The weakness is classified under CWE-400 (Uncontrolled Resource Consumption), specifically affecting availability (A:H). Confidentiality and integrity are not directly impacted (C:N, I:N).
Resource exhaustion affects the availability of the Nginx UI application and co-located services that rely on the shared host filesystem or temporary directory partition. Host disk depletion can lead to secondary operational failures, including failed log writes, database transaction halts, and unexpected application terminations.
No public exploit frameworks or automated detection scripts are currently cataloged for this issue. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, and no active exploitation in ransomware campaigns has been recorded.
The primary remediation for CVE-2026-107805 is upgrading Nginx UI to version v2.6.0 or later. The patched release enforces header validation before disk staging, limits body staging sizes to 128 MB, and avoids temporary file creation for unauthenticated requests.
If immediate software updates cannot be deployed, perimeter controls can reduce exposure. Reverse proxies situated in front of Nginx UI should enforce strict body size constraints using directives such as client_max_body_size on API and node authentication paths.
System-level defenses include mounting the temporary directory (/tmp or TMPDIR) on a separate partition or tmpfs RAM disk configured with strict capacity caps. Network filtering rules should restrict access to node authentication endpoints so that only authorized cluster node IP addresses can establish connections.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
nginx-ui 0xJacky | >= 2.5.0, < 2.6.0 | 2.6.0 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-400 |
| Attack Vector | Network (AV:N) |
| CVSS Score | 7.5 (High) |
| EPSS Score | Not Listed |
| Impact | Denial of Service (Storage & I/O Exhaustion) |
| Exploit Status | No Public Exploit Available |
| CISA KEV Status | Not Listed |
The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to consume excess resources such as temporary disk space, file descriptors, or I/O operations.
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.
Prior to version 2.10.2, the sqlite3-ruby gem explicitly cast 64-bit Ruby string lengths (long) to 32-bit signed integers (int) when invoking the underlying SQLite C API. On 64-bit platforms, providing a string of 4 GiB (2^32 bytes) or larger causes integer truncation, instructing SQLite to process only a prefix of the string. This flaw affects SQL query preparation, bound parameter values, and return values from custom Ruby-defined SQL functions and aggregates, allowing trailing SQL clauses such as WHERE restrictions to be silently dropped under specific conditions.
CVE-2026-128068 (GHSA-cpgf-5mjf-73p7) is a Regular Expression Denial of Service (ReDoS) vulnerability in the rails-html-sanitizer Ruby gem affecting versions 1.0.3 through 1.7.1. The flaw resides in the Rails::HTML::PermitScrubber#scrub_attribute method, which uses the multiline regular expression /^\s*[^#\s].*/m to enforce local-only URI fragment references on SVG elements. On Ruby runtimes prior to version 3.2 (CRuby <= 3.1 and JRuby), evaluating an attribute value composed of repeated newline and whitespace characters without a hash character triggers quadratic backtracking O(n^2). Applications are only vulnerable if their sanitization allowlist is explicitly configured to permit SVG reference elements such as <use> alongside href or xlink:href attributes.