Description
Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, POST /api/login checks EnabledOTP but does not require a WebAuthn assertion when EnabledPasskey is true and no TOTP secret is configured. A passkey-only account is therefore issued a session after password verification, despite Enabled2FA reporting that the account has a second factor. An attacker who obtains the password can take over the account and reach administrative functionality without the registered passkey. This issue is fixed in version 2.5.0.
Published: 2026-10-09
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Authentication bypass enabling unauthorized administrative access
Action: Immediate Patch
AI Analysis

Impact

Nginx UI, a web interface for the Nginx web server, performs login requests via POST /api/login. Between releases 2.0.0 and 2.4.x, the endpoint checks whether two‑factor authentication is enabled but does not require a WebAuthn assertion when a passkey‑only account (EnabledPasskey true) is used and no TOTP secret is configured. Consequently, after the password is verified, the system issues a session even though the user is reported to have a second factor. An adversary who obtains the account password can therefore take over that account and access administrative features without presenting the registered passkey. This authentication bypass is a direct consequence of the missing enforcement of the second factor and matches CWE‑287, CWE‑305, and CWE‑308.

Affected Systems

The product affected by this vulnerability is the nginx‑ui application distributed by 0xJacky. All releases from version 2.0.0 up to, but not including, 2.5.0 are vulnerable. Users running any of these versions should identify whether their installation allows passkey‑only accounts and whether TOTP was configured for those accounts. Administrators should verify that the configuration file does not expose accounts that depend solely on a passkey for two‑factor authentication.

Risk and Exploitability

The CVSS base score for this issue is 8.1, indicating a high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to gain or guess the password of a user account that has EnabledPasskey true but lacks a TOTP secret; no additional software or privileged access is needed. Once authenticated, the attacker can perform any administrative operation that the compromised account is authorised to do. The combination of a high score and the straightforward remote execution path makes this a critical issue for environments relying on nginx‑ui for management.

Generated by OpenCVE AI on October 9, 2026 at 16:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade nginx‑ui to version 2.5.0 or later, where the WebAuthn assertion is properly enforced when EnabledPasskey is true.
  • After updating, audit account configurations to ensure that every account reporting a second factor has an associated TOTP secret or that passkey‑only accounts are disabled or protected by additional factors.
  • Rotate passwords for all user accounts, especially those with elevated privileges, and consider enforcing password complexity policies to reduce the likelihood of credential compromise.

Generated by OpenCVE AI on October 9, 2026 at 16:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-45gv-9wjv-xh7p Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass)
History

Tue, 20 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Nginxui
Nginxui nginx Ui
CPEs cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*
Vendors & Products Nginxui
Nginxui nginx Ui

Fri, 09 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 09 Oct 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui

Fri, 09 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description Nginx UI is a web user interface for the Nginx web server. From 2.0.0 until 2.5.0, POST /api/login checks EnabledOTP but does not require a WebAuthn assertion when EnabledPasskey is true and no TOTP secret is configured. A passkey-only account is therefore issued a session after password verification, despite Enabled2FA reporting that the account has a second factor. An attacker who obtains the password can take over the account and reach administrative functionality without the registered passkey. This issue is fixed in version 2.5.0.
Title Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass)
Weaknesses CWE-287
CWE-305
CWE-308
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

0xjacky Nginx-ui
Nginxui Nginx Ui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-09T17:19:53.438Z

Reserved: 2026-10-08T21:23:59.820Z

Link: CVE-2026-107808

cve-icon Vulnrichment

Updated: 2026-10-09T17:18:32.204Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-09T16:17:25.237

Modified: 2026-10-20T15:24:07.787

Link: CVE-2026-107808

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T16:30:09Z

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-308

    Use of Single-factor Authentication