All vulnerabilities

Servers and applications

GHSA-rg7q-q2cr-372q

Write-scoped service tokens could mutate administrator accounts

Severity
High 8.8
Published
30 Sept 2026
Last changed
30 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.6.2
Weakness
Improper privilege management (CWE-269)Missing authorization (CWE-862)
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

Nginx UI service tokens with api:write scope were allowed through the secure-session middleware for API automation. The user-management mutation routes relied on that middleware but did not additionally require an interactive administrator. A holder of a write-scoped service token could therefore create, modify, delete, or recover users and obtain persistent administrator access.

Read-only access to the user list remains available to api:read service tokens as an intentional API capability. Only user mutations now require an authenticated interactive administrator and the existing secure-session check.

An attacker who obtained a valid api:write service token could create or alter an enabled administrator account, converting an automation credential into persistent interactive access. The issue is not reachable with an api:read token or without authentication.

From 0xJacky/nginx-ui's security advisory.

Affected software

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

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