/

CVE-2026-107811

Severity:

HIGH RISK

(8.8)

Missing Authorization (CWE-862) in Nginx UI API Endpoints

CVE-2026-107811

Undergoing Analysis

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-200, CWE-862

Impact:

Cross-Node Authentication Bypass

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Nginx UI exposes node authentication tokens through API responses available to ordinary authenticated users. A user who obtains a token may be able to impersonate a trusted node and access management operations on a reachable cluster member, including configuration synchronization and service restart.

Nginx UI exposes node authentication tokens through API responses available to ordinary authenticated users. A user who obtains a token may be able to impersonate a trusted node and access management operations on a reachable cluster member, including configuration synchronization and service restart.

Affected context

The issue occurs in Nginx UI deployments where ordinary authenticated users can access node listing or node detail endpoints that serialize node secrets. It becomes risky when the exposed token is accepted as a node-authentication header and the target cluster member is reachable from the attacker's network position.

The issue occurs in Nginx UI deployments where ordinary authenticated users can access node listing or node detail endpoints that serialize node secrets. It becomes risky when the exposed token is accepted as a node-authentication header and the target cluster member is reachable from the attacker's network position.

Exploit preconditions

  • Attack surface: Nginx UI API endpoints for node listing and node details
  • Required access: An authenticated account with ordinary user privileges
  • Trigger point: Retrieval of node data followed by use of the serialized node token in a node-authentication request
  • Target condition: A trusted cluster member must be reachable and accept the node secret for authentication
  • Why exploitation is possible: Sensitive node credentials are disclosed through an insufficiently authorized API response and are accepted as an alternative authentication identity
  • Attack surface: Nginx UI API endpoints for node listing and node details
  • Required access: An authenticated account with ordinary user privileges
  • Trigger point: Retrieval of node data followed by use of the serialized node token in a node-authentication request
  • Target condition: A trusted cluster member must be reachable and accept the node secret for authentication
  • Why exploitation is possible: Sensitive node credentials are disclosed through an insufficiently authorized API response and are accepted as an alternative authentication identity

Why this happens

The underlying issue combines excessive data exposure with missing authorization. API endpoints accessible to ordinary users return a node token that is intended to authenticate trusted cluster members. Because the same token is accepted by node authentication logic and maps requests to a trusted identity, disclosure of the token can bypass the intended authorization boundary. This behavior maps primarily to CWE-862: Missing Authorization, with CWE-200: Exposure of Sensitive Information describing the credential disclosure aspect.

The underlying issue combines excessive data exposure with missing authorization. API endpoints accessible to ordinary users return a node token that is intended to authenticate trusted cluster members. Because the same token is accepted by node authentication logic and maps requests to a trusted identity, disclosure of the token can bypass the intended authorization boundary. This behavior maps primarily to CWE-862: Missing Authorization, with CWE-200: Exposure of Sensitive Information describing the credential disclosure aspect.

Potential impact

  • An attacker may impersonate a trusted cluster node
  • An attacker could access privileged management operations
  • Configuration synchronization may be triggered or altered
  • Services may be restarted without the intended administrative authorization
  • Sensitive operational data may be exposed
  • Cluster integrity and availability could be affected
  • An attacker may impersonate a trusted cluster node
  • An attacker could access privileged management operations
  • Configuration synchronization may be triggered or altered
  • Services may be restarted without the intended administrative authorization
  • Sensitive operational data may be exposed
  • Cluster integrity and availability could be affected

General mitigation guidance

Mitigation typically focuses on enforcing authorization at every node-management endpoint and reducing the exposure of authentication material.

Common defensive patterns include:

  • Returning only the minimum node metadata required by each user role
  • Never serializing node secrets or reusable authentication tokens in ordinary API responses
  • Separating node-to-node credentials from user-session authentication
  • Applying explicit, deny-by-default authorization checks to management operations
  • Binding privileged operations to narrowly scoped identities and capabilities
  • Rotating exposed credentials and invalidating tokens when disclosure is suspected
  • Restricting cluster-member network reachability and applying least-privilege service permissions

Mitigation typically focuses on enforcing authorization at every node-management endpoint and reducing the exposure of authentication material.

Common defensive patterns include:

  • Returning only the minimum node metadata required by each user role
  • Never serializing node secrets or reusable authentication tokens in ordinary API responses
  • Separating node-to-node credentials from user-session authentication
  • Applying explicit, deny-by-default authorization checks to management operations
  • Binding privileged operations to narrowly scoped identities and capabilities
  • Rotating exposed credentials and invalidating tokens when disclosure is suspected
  • Restricting cluster-member network reachability and applying least-privilege service permissions

How teams detect issues like this

Organizations can detect related weaknesses through:

  • Static analysis and API schema checks for secret or token fields in user-accessible responses
  • Code review searches for endpoints that return credentials, node secrets, or internal authentication headers
  • Authorization tests that compare ordinary-user access with administrator-only and node-only operations
  • Integration tests verifying that disclosed user data cannot be replayed as a trusted service identity
  • API gateway or policy rules that block sensitive fields and require explicit authorization for management routes
  • Audit monitoring for unusual node-authentication requests, configuration synchronization, or service restarts

Organizations can detect related weaknesses through:

  • Static analysis and API schema checks for secret or token fields in user-accessible responses
  • Code review searches for endpoints that return credentials, node secrets, or internal authentication headers
  • Authorization tests that compare ordinary-user access with administrator-only and node-only operations
  • Integration tests verifying that disclosed user data cannot be replayed as a trusted service identity
  • API gateway or policy rules that block sensitive fields and require explicit authorization for management routes
  • Audit monitoring for unusual node-authentication requests, configuration synchronization, or service restarts

Sources

SourceLink
github.comgithub.com/0xJacky/nginx-ui/commit/0ecbd106c37b5143be14880c9447a66135151512
github.comgithub.com/0xJacky/nginx-ui/releases/tag/v2.5.0
github.comgithub.com/0xJacky/nginx-ui/security/advisories/GHSA-32gc-wf3m-78w9

Frequently asked

questions

Exploitation generally requires an authenticated account that can access the affected node API endpoints. The required privilege level may be ordinary user access rather than administrative access.

The token is accepted as a node-authentication credential. If a reachable cluster member trusts it, an attacker may use it to act as a trusted node rather than as the original user.

Do not disclose reusable node credentials through user-facing APIs, and enforce explicit authorization for every node-management and cluster operation.

Apply data minimization, separate service credentials from user identities, test authorization boundaries, and monitor for replay of service or node credentials.

Exploitation generally requires an authenticated account that can access the affected node API endpoints. The required privilege level may be ordinary user access rather than administrative access.

The token is accepted as a node-authentication credential. If a reachable cluster member trusts it, an attacker may use it to act as a trusted node rather than as the original user.

Do not disclose reusable node credentials through user-facing APIs, and enforce explicit authorization for every node-management and cluster operation.

Apply data minimization, separate service credentials from user identities, test authorization boundaries, and monitor for replay of service or node credentials.

Find out what's already
exploitable in your codebase.