CVE-2026-107808

Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass)

Published Oct 9, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui
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'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-308

    Use of Single-factor Authentication

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 9, 2026, 5:19 PM
Reserved
Oct 8, 2026, 9:23 PM
Status
Analyzed
Published
Oct 9, 2026, 4:17 PM
Modified
Oct 20, 2026, 3:24 PM