Nginx-UI: Disabled users retain full API access through previously issued bearer tokensGHSA-x234-x5vq-cc2v
HIGHFix: 0xJacky/nginx-ui@7b66578GHSA-x234-x5vq-cc2v is a high-severity (CVSS 8.1) CWE-284 vulnerability in github.com/0xJacky/Nginx-UI. A fix is available for github.com/0xJacky/Nginx-UI — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for GHSA-x234-x5vq-cc2v.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/0xJacky/Nginx-UIReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Summary
A user who was disabled by an administrator can use previously issued API tokens for up to the token lifetime. In practice, disabling a compromised account does not actually terminate that user’s access, so an attacker who already stole a JWT can continue reading and modifying protected resources after the account is marked disabled.
Since tokens can be used to create new accounts, it is possible the disabled user to maintain the privilege.
Details
The application exposes an account-level disable control through the users management API. Login process correctly enforces that control: https://github.com/0xJacky/nginx-ui/blob/6ec542fd97abf2c5950f374f78a32938ad0030e6/internal/user/login.go#L29-L31
However, token-based authentication does not enforce the same check (This code validates token structure and expiry, but returns that user object without checking user.Status.):
https://github.com/0xJacky/nginx-ui/blob/6ec542fd97abf2c5950f374f78a32938ad0030e6/internal/user/user.go#L44-L139
There’s also no token revocation feature, unlike when a password is changed: https://github.com/0xJacky/nginx-ui/blob/6ec542fd97abf2c5950f374f78a32938ad0030e6/api/user/user.go#L38-L51
As a result, a disabled user can continue to have full API access. In particular, since that includes account creation, they can create a new account and keep operating even after the JWT expires.
PoC
The issue was validated with version 2.3.3 using the uozi/nginx-ui:sha-c92ec0a docker image.
View the PoC video:
https://github.com/user-attachments/assets/7a5175cb-2f79-4c1b-adad-e7d0bf2ea2bd
Impact
Administrators who rely on "disable user" as an authentication or authorization control can be bypassed.
The disabled user can keep reading sensitive configuration and executing authenticated state-changing actions allowed to that account.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/0xJacky/Nginx-UI | all versions | 1.9.10-0.20260314152518-7b66578adb47go get github.com/0xJacky/Nginx-UI@v1.9.10-0.20260314152518-7b66578adb47 |
Affected Products
nginx uinginxuiDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/0xJacky/Nginx-UI, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/0xJacky/Nginx-UI to 1.9.10-0.20260314152518-7b66578adb47 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-x234-x5vq-cc2v is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is GHSA-x234-x5vq-cc2v in your dependencies?
Find it across Go, including transitive dependencies.