{"id":"CVE-2026-33031","aliases":["CVE-2026-33031","GHSA-x234-x5vq-cc2v","GO-2026-5733"],"related":[],"kind":"vulnerability","state":"published","title":"Nginx-UI: Disabled users retain full API access through previously issued bearer tokens","summary":"Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.4, 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. Version 2.3.4 patches the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nginx UI is a web user interface for the Nginx web server. Prior to version 2.3.4, 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. Version 2.3.4 patches the issue.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA 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.\n\nSince tokens can be used to create new accounts, it is possible the disabled user to maintain the privilege.\n\n### Details\n\nThe application exposes an account-level disable control through the users management API. Login process correctly enforces that control:\nhttps://github.com/0xJacky/nginx-ui/blob/6ec542fd97abf2c5950f374f78a32938ad0030e6/internal/user/login.go#L29-L31\n\nHowever, 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`.):\nhttps://github.com/0xJacky/nginx-ui/blob/6ec542fd97abf2c5950f374f78a32938ad0030e6/internal/user/user.go#L44-L139\n\nThere’s also no token revocation feature, unlike when a password is changed:\nhttps://github.com/0xJacky/nginx-ui/blob/6ec542fd97abf2c5950f374f78a32938ad0030e6/api/user/user.go#L38-L51\n\nAs 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.\n\n### PoC\n\nThe issue was validated with version 2.3.3 using the `uozi/nginx-ui:sha-c92ec0a` docker image.\n\nView the PoC video:\n\n\nhttps://github.com/user-attachments/assets/7a5175cb-2f79-4c1b-adad-e7d0bf2ea2bd\n\n\n\n### Impact\n\nAdministrators who rely on \"disable user\" as an authentication or authorization control can be bypassed.\n\nThe disabled user can keep reading sensitive configuration and executing authenticated state-changing actions allowed to that account.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Nginx-UI: Disabled users retain full API access through previously issued bearer tokens in github.com/0xJacky/Nginx-UI","format":"markdown","source":"go"},{"lang":"es","text":"Nginx UI es una interfaz de usuario web para el servidor web Nginx. Antes de la versión 2.3.4, un usuario que fue deshabilitado por un administrador puede usar tokens de API emitidos previamente por hasta la vida útil del token. En la práctica, deshabilitar una cuenta comprometida no termina realmente el acceso de ese usuario, por lo que un atacante que ya robó un JWT puede continuar leyendo y modificando recursos protegidos después de que la cuenta sea marcada como deshabilitada. Dado que los tokens pueden usarse para crear nuevas cuentas, es posible que el usuario deshabilitado mantenga el privilegio. La versión 2.3.4 corrige el problema.","source":"nvd"}],"published":"2026-04-20T20:12:07.905Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-284","CWE-863"],"affected":[{"ranges":[{"version":"< 2.3.4","status":"affected"}],"vendor":"0xJacky","product":"nginx-ui","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.10-0.20260314152518-7b66578adb47"}],"ecosystem":"Go","package":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.9.10-0.20260314152518-7b66578adb47"}],"ecosystem":"Go","package":"github.com/0xJacky/Nginx-UI","purl":"pkg:golang/github.com/0xJacky/Nginx-UI","source":"go"},{"ranges":[{"status":"affected","fixed":"2.3.4"}],"vendor":"nginxui","product":"nginx_ui","cpe":"cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-x234-x5vq-cc2v","tags":["advisory","exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33031","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/0xJacky/nginx-ui/commit/7b66578adb47bbec839b621a4666495249379174","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/0xJacky/nginx-ui","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.4","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-04-21T13:35:06.066Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33031","url":"https://www.cve.org/CVERecord?id=CVE-2026-33031","licence":"CVE Terms of Use","modified":"2026-04-21T13:35:20.144Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x234-x5vq-cc2v","url":"https://github.com/advisories/GHSA-x234-x5vq-cc2v","licence":"CC-BY-4.0","modified":"2026-06-25T23:11:41.135Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5733","url":"https://pkg.go.dev/vuln/GO-2026-5733","licence":"CC-BY-4.0","modified":"2026-06-25T23:01:42.666Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33031","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33031","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:19.061Z","epss":{"score":0.00279,"percentile":0.21906,"date":"2026-12-01T12:00:22.000Z"}}