{"id":"CVE-2026-84321","kind":"vulnerability","aliases":["CVE-2026-84321","GHSA-wq4w-vwvq-q3x9","GO-2026-6801"],"related":[],"title":"Nginx UI: Standalone short tokens survive administrative revocation in cache and authenticate again after account re-enable in github.com/0xJacky/Nginx-UI","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.","summary":"Nginx UI, a web interface for managing Nginx, can keep a revoked short-lived login token in its cache. If the owning account is re-enabled before the cache entry expires, that old token authenticates again and restores access to HTTP and WebSocket routes that accept short tokens.","severity":"medium","cvss":5.4,"epss":0.00209,"exploited":false,"exploited_at":null,"products":[{"name":"github.com/0xJacky/Nginx-UI","fixed":["1.9.10-0.20260703131214-23d1934099b0"],"affected":"< 1.9.10-0.20260703131214-23d1934099b0","ecosystem":"go"}],"ecosystems":["go"],"tags":["go","nginx","nginx-ui","package","self-hosted"],"not_affected_if":["managed-hosting","no-short-token-auth"],"how_to_check":"Check the Go module version of github.com/0xJacky/Nginx-UI in go.mod against 1.9.10-0.20260703131214-23d1934099b0 (sources also mention version 2.4.1 as the fix).","fix":"Upgrade github.com/0xJacky/Nginx-UI to 1.9.10-0.20260703131214-23d1934099b0 or later (sources also state 2.4.1 as the fixed release; the two version references conflict).\nAfter upgrading, rotate short tokens for affected accounts if revocation happened before the fix.","status":"open","published_at":"2026-10-12T21:17:22+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","triaged_at":"2026-10-23T19:58:19+00:00","updated_at":"2026-10-23T19:58:19+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-23T19:58:19Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade github.com/0xJacky/Nginx-UI to 1.9.10-0.20260703131214-23d1934099b0 or later (sources also state 2.4.1 as the fixed release; the two version references conflict).\nAfter upgrading, rotate short tokens for affected accounts if revocation happened before the fix.","summary":"Nginx UI, a web interface for managing Nginx, can keep a revoked short-lived login token in its cache. If the owning account is re-enabled before the cache entry expires, that old token authenticates again and restores access to HTTP and WebSocket routes that accept short tokens.","category":"package","who_cares":["go","nginx-ui","self-hosted","nginx"],"confidence":0.6,"analyst_note":"Sources conflict on the fixed version (module pseudo-version 1.9.10-0.20260703131214-23d1934099b0 in govuln vs. 2.4.1 in the description); confirm the release from https://pkg.go.dev/vuln/GO-2026-6801 and the NVD entry https://nvd.nist.gov/vuln/detail/CVE-2026-84321.","how_to_check":"Check the Go module version of github.com/0xJacky/Nginx-UI in go.mod against 1.9.10-0.20260703131214-23d1934099b0 (sources also mention version 2.4.1 as the fix).\nunknown\nunknown","needs_analyst":true,"not_affected_if":["no-short-token-auth","managed-hosting"],"severity_if_unknown":"medium"},"cost_usd":0.000494,"input_tokens":2299,"output_tokens":529,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':24A,32A,35A '-6801':33A '-84321':25A,36A '/0xjacky/nginx-ui':22A,39A '2.4.1':113C,192C 'accept':96B,181C 'access':89B,174C 'account':15A,72B,157C 'administr':7A 'associ':156C 'authent':12A,85B,152C,185C 'cach':10A,68B,79B,129C,150C,164C 'creat':115C 'cve':23A,34A 'deleteusertoken':127C 'enabl':18A,76B,161C 'entri':80B,130C,165C,172C 'expir':81B,166C 'field':136C 'fix':189C 'generateshorttoken':114C 'gettokenuserbyshorttoken':168C 'ghsa':27A 'ghsa-wq4w-vwvq-q3x9':26A 'github.com':21A,38A 'github.com/0xjacky/nginx-ui':20A,37A 'go':31A,40B 'host':48B 'http':91B,176C 'interfac':53B,105C 'invalid':128C 'issu':187C 'keep':58B 'live':63B 'login':64B 'long':123C,134C 'manag':55B 'nginx':1A,41B,43B,49B,56B,99C,108C 'nginx-ui':42B 'nonempti':138C 'old':83B 'own':71B 'packag':45B 'prior':111C 'q3x9':30A 're':17A,75B,160C 're-en':16A,74B,159C 'read':169C 'record':120C 'remain':145C 'restor':88B,173C 'revoc':8A 'revok':60B,140C 'rout':94B,179C 'self':47B 'self-host':46B 'server':110C 'short':4A,62B,97B,118C,141C,148C,183C 'short-liv':61B 'short-token':117C,182C 'standalon':3A,116C 'surviv':6A,171C 'therefor':144C 'token':5A,65B,84B,98B,119C,124C,135C,142C,149C,184C 'ui':2A,44B,50B,100C 'user':104C 'valu':125C 'version':191C 'vwvq':29A 'web':52B,103C,109C 'websocket':93B,178C 'without':121C 'wq4w':28A","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-12T21:17:22+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"govuln","external_id":"GO-2026-6801","url":"https://pkg.go.dev/vuln/GO-2026-6801","severity":null,"published_at":"2026-10-19T21:08:35+00:00","modified_at":"2026-10-19T21:08:35+00:00","first_seen_at":"2026-10-23T19:13:08+00:00","fetched_at":"2026-10-23T19:13:08+00:00","note":null},{"source":"epss","external_id":"CVE-2026-84321","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-84321","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:43+00:00","fetched_at":"2026-10-23T19:13:43+00:00","note":null},{"source":"nvd","external_id":"CVE-2026-84321","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84321","severity":null,"published_at":"2026-10-12T21:17:22+00:00","modified_at":"2026-10-13T16:17:23+00:00","first_seen_at":"2026-10-23T19:35:23+00:00","fetched_at":"2026-10-23T19:35:23+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}