{"id":"CVE-2026-84313","published":"2026-10-12T20:51:44Z","modified":"2026-10-15T13:48:40Z","title":"Nginx UI: TOTP / passkey enrolment requires no re-authentication, enabling persistent account takeover","vendor":"0xJacky","product":"nginx-ui","tier":"tail","description":{"text":"Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, POST /api/otp_enroll and POST /api/finish_passkey_register are registered outside RequireSecureSession and accept a normal authenticated session without verifying the current password. An attacker with a stolen JWT can bind an attacker-controlled TOTP secret when the victim has not already enabled TOTP, or can register an attacker-controlled passkey because that path has no equivalent existing-enrollment guard. These changes create persistent account access that can survive a password change and interfere with the legitimate user's authentication. This issue is fixed in version 2.4.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00542,"percentile":0.46498,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-gfrc-g87h-7h5w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/0xJacky/nginx-ui/commit/23d1934099b05b2a01589b48129dc3d3159d91c2","tags":["x_refsource_MISC"]},{"url":"https://github.com/0xJacky/nginx-ui/releases/tag/v2.4.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.3},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"0xjacky","affectedVersions":[{"vendor":"0xJacky","product":"nginx-ui","versions":["< 2.4.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T13:48:05.211053Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/0xJacky/Nginx-UI","vulnerableRanges":["<1.9.10-0.20260703131214-23d1934099b0","all versions"],"patched":["1.9.10-0.20260703131214-23d1934099b0"],"from":["GHSA-gfrc-g87h-7h5w","GO-2026-6786"],"provenance":"source"}],"summary":{"text":"The flaw is in the TOTP and passkey enrolment endpoints (POST /api/otp_enroll and POST /api/finish_passkey_register) of the nginx-ui web interface for Nginx, which lack the secure-session check and do not verify the current password. An attacker holding a valid authenticated session, such as a stolen JWT, over the network with no user interaction can bind their own TOTP secret (if TOTP is not already enabled for the victim) or register their own passkey, creating persistent account access that survives a password change and can disrupt the legitimate user's authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:49Z"},"euvd":{"id":"EUVD-2026-97865","exploited":false,"provenance":"source"}}