Description
Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, GenerateShortToken creates standalone short-token records without a long Token value, but DeleteUserTokens invalidates cached entries only when the long Token field is nonempty. A revoked short token can therefore remain in the short_token cache and authenticate again if the associated account is re-enabled before the cache entry expires because GetTokenUserByShortToken reads the surviving entry, restoring access to HTTP or WebSocket routes that accept short-token authentication. This issue is fixed in version 2.4.1.
Published: 2026-10-12
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Authentication bypass
Action: Patch
AI Analysis

Impact

Nginx UI’s token generation routine creates short‑token records that lack an accompanying long Token value. When a user is revoked, the DeleteUserTokens function only clears cached entries if a long Token exists; therefore a revoked short token can persist in the cache. After the account is re‑enabled, the system reads the surviving short token and grants access again to any HTTP or WebSocket endpoints that accept short‑token authentication. The primary impact is that authenticated access can be restored without re‑authentication, effectively bypassing the revoke action and providing an attacker who holds the short token a path to access protected resources.

Affected Systems

The vulnerability affects the open‑source Nginx UI project (0xJacky/nginx‑ui) running any version prior to 2.4.1.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity, and the EPSS score is currently unavailable, suggesting that exploitation probability is unclear. The vulnerability is not listed in CISA’s KEV catalog. Attackers would need to possess a valid short token and have the target account re‑enabled before the cache entry expires. The attack vector is thus a remote condition that relies on HTTP communication to a Nginx UI instance. While the vulnerability does not enable privilege escalation beyond the roles granted by the token, it permits unauthorized re‑access to routes that would otherwise be restricted after revocation.

Generated by OpenCVE AI on October 12, 2026 at 23:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nginx UI to version 2.4.1 or newer to apply the fix for short‑token cache invalidation.
  • If an upgrade cannot be performed immediately, disable short‑token authentication for HTTP and WebSocket routes or re‑configure those routes to require a long token or additional validation.
  • Implement periodic or immediate cache purging of short_token entries after user revocation or account re‑enablement, and monitor authentication logs for repeated use of the same short token after revocation events.

Generated by OpenCVE AI on October 12, 2026 at 23:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wq4w-vwvq-q3x9 Nginx UI: Standalone short tokens survive administrative revocation in cache and authenticate again after account re-enable
History

Tue, 13 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 13 Oct 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui

Mon, 12 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Description Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, GenerateShortToken creates standalone short-token records without a long Token value, but DeleteUserTokens invalidates cached entries only when the long Token field is nonempty. A revoked short token can therefore remain in the short_token cache and authenticate again if the associated account is re-enabled before the cache entry expires because GetTokenUserByShortToken reads the surviving entry, restoring access to HTTP or WebSocket routes that accept short-token authentication. This issue is fixed in version 2.4.1.
Title Nginx UI: Standalone short tokens survive administrative revocation in cache and authenticate again after account re-enable
Weaknesses CWE-613
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}


Subscriptions

0xjacky Nginx-ui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-13T15:50:29.123Z

Reserved: 2026-09-01T16:17:43.080Z

Link: CVE-2026-84321

cve-icon Vulnrichment

Updated: 2026-10-13T15:48:02.747Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T21:17:22.817

Modified: 2026-10-13T16:17:23.713

Link: CVE-2026-84321

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T23:45:12Z

Weaknesses
  • CWE-613

    Insufficient Session Expiration