All vulnerabilities

Servers and applications

GHSA-gp79-j356-rr7m

WebSocket short tokens can access management APIs and renew after logout

Severity
High 8.8
Published
30 Sept 2026
Last changed
30 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.7.0
Weakness
Insufficient session expiration (CWE-613)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

Short tokens intended for WebSocket authentication are also accepted by the general AuthRequired middleware on management HTTP routes. A party who obtains a valid short token can therefore use it as an explicit Authorization credential on HTTP APIs.

Since v2.3.6, POST /api/token/short issues standalone short-token rows that are not associated with the parent JWT row. Logging out with the parent JWT does not remove these standalone rows. The mint endpoint checks only that the _nginx_ui_secure_session cookie is non-empty, not that it is bound to the authenticated session, so a holder of an unexpired short token can supply an arbitrary cookie value to mint another token.

The attacker must first obtain a valid short token; this is not unauthenticated login or escalation to a different user role. HTTP acceptance of short tokens was introduced in v2.1.10. The standalone-token logout and renewal chain was introduced in v2.3.6. Each short token has a 24-hour expiry unless renewed.

From 0xJacky/nginx-ui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Nginx UIServers and applications · github:0xjacky/nginx-ui
  • From 2.1.10 before 2.7.0

About Nginx UI

Yet another WebUI for Nginx

From its GitHub repository.
Docker Hub pulls
1,512,532Docker Hub, 15 Nov 2026
GitHub stars
11,783GitHub, 15 Nov 2026
Forks
921GitHub, 15 Nov 2026
Latest release
v3.0.3GitHub, 15 Nov 2026
Released
12 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
19 Feb 2021GitHub

References