Oct 10, 2026·5 min read·19 visits
Unconfigured trusted reverse proxies in Nginx UI cause client IP misattribution to loopback, allowing IP white-list bypass and authentication lockout DoS.
Nginx UI versions 2.2.0 through 2.5.10 fail to properly configure Gin framework trusted proxies when deployed behind a reverse proxy. This causes all incoming HTTP requests to be attributed to the loopback IP (127.0.0.1), enabling IP allowlist bypass and global authentication lockouts.
CVE-2026-107804 represents an origin validation flaw in Nginx UI, a web interface for managing Nginx web server configurations. The backend application, written in Go using the Gin web framework, fails to properly establish trusted proxy boundaries. Affected versions span from 2.2.0 up to, but excluding, 2.6.0.
In standard deployments, Nginx UI runs behind a local Nginx reverse proxy instance that forwards HTTP requests to the Go application listening on local port 9000. Because the Gin backend is not explicitly configured with trusted proxy addresses via SetTrustedProxies, client IP address extraction defaults to the socket connection peer address (127.0.0.1).
This misattribution results in two severe operational impacts. First, requests routed through the local proxy bypass configured administrative IP allowlists. Second, failed authentication attempts across disparate external clients aggregate under the single loopback IP, enabling unauthenticated remote attackers to trigger account lockouts.
The root cause of CVE-2026-107804 stems from Gin's client IP resolution mechanics combined with missing framework initialization. Gin determines client IP addresses via c.ClientIP(). When trusted proxies are undefined, Gin ignores forwarded request headers (X-Forwarded-For or X-Real-IP) to prevent IP spoofing from untrusted network clients.
Because the backend framework leaves the trusted proxy list empty, Gin relies exclusively on the TCP socket remote peer address (c.Request.RemoteAddr). In the default architecture, Nginx UI routes incoming external connections through a local Nginx proxy peer. Consequently, every request entering the Go application appears to originate directly from 127.0.0.1 or ::1.
This flaw cascades into security-critical application logic. The IPWhiteList() middleware permits requests if c.ClientIP() matches 127.0.0.1 to prevent local admin lockout. Similarly, the BanIP table in SQLite/GORM indexes failed logins by c.ClientIP(), grouping all external client failures under 127.0.0.1.
In affected versions (2.2.0 through 2.5.10), the application router initialization in router/routers.go failed to invoke engine.SetTrustedProxies(). As a result, the default empty proxy configuration caused c.ClientIP() to resolve to the peer address of the reverse proxy.
The official fix in commit e30e331303fc21cf077a2bea724bd79e66892eaf introduces trusted proxy configuration directly into the router startup path. The fix defines proxy evaluation logic in router/client_ip.go and updates configuration binding structures.
// Vulnerable Code Path (Pre-2.6.0): router/routers.go
// Engine initialized without setting trusted proxy boundaries
r := gin.Default()
// c.ClientIP() falls back to TCP connection RemoteAddr (127.0.0.1)
// Patched Implementation: router/client_ip.go in commit e30e331303fc21cf077a2bea724bd79e66892eaf
var bundledNginxTrustedProxies = []string{"127.0.0.1", "::1"}
func trustedProxiesForCurrentTopology() []string {
trustedProxies := slices.Clone(settings.AuthSettings.TrustedProxies)
if !helper.ShouldManageBundledNginx() {
return trustedProxies
}
for _, trustedProxy := range bundledNginxTrustedProxies {
if !slices.Contains(trustedProxies, trustedProxy) {
trustedProxies = append(trustedProxies, trustedProxy)
}
}
return trustedProxies
}
func configureTrustedProxies(engine *gin.Engine) error {
// Formally registers trusted proxy addresses with the Gin engine
return engine.SetTrustedProxies(trustedProxiesForCurrentTopology())
}By executing SetTrustedProxies during router setup, Gin safely parses X-Forwarded-For headers sent by the trusted proxy while continuing to reject unvalidated headers from untrusted connections.
Exploitation of CVE-2026-107804 requires network connectivity to an Nginx UI instance deployed behind a reverse proxy. Attackers can leverage this misconfiguration to achieve two primary outcomes without requiring prior authentication.
To bypass IP allowlist controls, an attacker issues administrative API requests to Nginx UI via the web interface. Because the backend evaluates the request source as 127.0.0.1, the IPWhiteList() middleware grants access past the network restriction layer. Valid user credentials remain necessary to access protected endpoints.
To execute a Denial of Service, an attacker submits intentional bad authentication requests (such as invalid passwords or incorrect OTP codes) to the login endpoint. Each failure increments the counter for 127.0.0.1 in the database. When the count exceeds MaxAttempts within BanThresholdMinutes, Nginx UI issues a global lockout on 127.0.0.1, preventing legitimate users from logging into the management interface.
CVE-2026-107804 carries a CVSS v3.1 score of 5.3 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. The attack vector is Network, requiring no privileges or user interaction.
The primary severity stems from the Denial of Service vector. By forcing a temporary ban on 127.0.0.1, an attacker can repeatedly block all remote administrative access to the platform. Systems utilizing automated password or OTP authentication are particularly sensitive to this brute-force lockout cycle.
While the IP allowlist bypass permits unauthorized network paths to reach the login interface, direct privilege escalation or data leakage requires valid credentials. Consequently, Integrity and Confidentiality impacts are evaluated as None in the standard CVSS assessment.
System administrators running Nginx UI must update to version 2.6.0 or higher. For Docker installations, pull the updated container image using docker compose pull nginx-ui and restart the service via docker compose up -d --force-recreate nginx-ui.
If Nginx UI is hosted behind additional upstream proxy infrastructure (such as Cloudflare, AWS ALB, or an external Nginx load balancer), update app.ini to explicitly declare the trusted network boundaries under the [auth] section.
[auth]
TrustedProxies = 127.0.0.1
TrustedProxies = 10.0.0.0/8Alternatively, set the environment variable NGINX_UI_AUTH_TRUSTED_PROXIES="127.0.0.1,10.0.0.0/8". Administrators must never configure TrustedProxies to wildcards like 0.0.0.0/0 or ::/0, as this would allow untrusted external clients to spoof X-Forwarded-For headers.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L| Attribute | Detail |
|---|---|
| CWE ID | CWE-346 (Origin Validation Error) |
| Attack Vector | Network (AV:N) |
| CVSS v3.1 | 5.3 (Medium) |
| EPSS Score | N/A |
| Impact | IP Allowlist Bypass, Denial of Service |
| Exploit Status | No public PoC available |
| CISA KEV Status | Not Listed |
CVE-2026-63402 is a prototype-chain traversal and shared built-in object corruption vulnerability in the i18next internationalization framework for JavaScript prior to version 26.3.4. The flaw resides in the deepExtend utility function within src/utils.js, which uses the JavaScript 'in' operator to verify property existence on target objects. When an application passes untrusted resource bundles to i18next.addResourceBundle() with both the deep and overwrite parameters set to true, an attacker can traverse into inherited methods on Object.prototype and overwrite properties on shared built-in function objects, causing process-wide denial of service.
CVE-2026-58262 (tracked internally as KLR-04 and via GitHub Security Advisory GHSA-f9h7-4mmq-vgcq) is a cryptographic verification and consensus quorum bypass vulnerability in Klever-Go (`klever-io/klever-go`), the Go implementation of the Klever blockchain protocol. Prior to version 1.7.20, the block header signature verification logic (`HeaderSigVerifier.verifyConsensusSize`) counts all set bits across the entire `PubKeysBitmap` byte slice toward the required two-thirds validator quorum without masking or validating unused trailing padding bits in the final byte. Because the underlying Boneh-Lynn-Shacham (BLS) multi-signature verification function (`blsMultiSigner.Verify`) iterates strictly over the indices of configured validator public keys, it ignores any bits set at indices beyond the active consensus group size. When the consensus group size is not an exact multiple of 8, a compromised or malicious block producer can set these unused trailing padding bits to artificially inflate the apparent signer count by up to 7 signatures, enabling blocks with fewer genuine validator signatures than required by the protocol to pass consensus validation.
CVE-2026-77423 is a Regular Expression Denial of Service (ReDoS) vulnerability in the built-in less viewer of the JLine Java library (versions 3.0.0 prior to 3.30.15, and 4.0.0 prior to 4.3.1). The org.jline.builtins.Less class passes user-supplied search and display-filter patterns directly to Java's standard backtracking regular expression engine without complexity validation or execution timeouts. An attacker with access to an interactive JLine session can submit patterns containing nested quantifiers, causing catastrophic backtracking that consumes 100% of a CPU core and blocks the session thread indefinitely. In network-facing deployments such as SSH or Telnet administration consoles, repeated exploitation across concurrent sessions can exhaust bounded worker thread pools and result in a complete denial of service.
CVE-2026-63492 is a rejected CVE identifier originally assigned by GitHub for an OS command injection vulnerability in WWBN AVideo (formerly YouPHPTube) up to version 29.0. It was rejected as a duplicate of the canonical identifier CVE-2026-63304 (tracked under GHSA-j44m-77cc-p3cc). The flaw resides in the listFFmpegProcesses() function within plugin/API/standAlone/functions.php, which interpolates unsanitized user parameters directly into a single-quoted shell pipeline executed via PHP's exec() function. Attackers capable of crafting a valid AES-256-CBC encrypted API payload can break out of the single-quoted context and execute arbitrary operating system commands as the web-server user.
CVE-2026-63476 is an uncontrolled resource consumption vulnerability in isomorphic-git prior to version 1.38.6. When parsing Git packfile delta objects during clone or fetch operations, the applyDelta utility reads an untrusted targetSize integer from the delta stream header and passes it directly to Buffer.alloc(). A malicious remote Git server or man-in-the-middle attacker can supply a delta header specifying a targetSize of approximately 2 GB with minimal actual payload data. Because Buffer.alloc() reserves off-heap memory in Node.js, this bypasses standard V8 heap limits and results in immediate out-of-memory termination or sustained memory retention.
CVE-2026-63410 (GHSA-vp2j-gqfm-r3cf) is a compiler-induced timing side-channel vulnerability in the secp256k1-native Ruby C extension. When compiled with GCC 14.x or 15.x at optimization level -O2, the compiler reconstructs boolean predicates from branchless bitwise multiplexer routines and emits secret-dependent conditional jump instructions (je/jne). During elliptic curve scalar multiplication in the Montgomery ladder, these conditional branches create observable execution timing variations correlated with individual bits of secret private keys or signing nonces.