NetSight
high8.1

CVE-2026-107808

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

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/0xJacky/Nginx-UI>= 1.9.10-0.20250517140552-daee3ac7ade1, < 1.9.10-0.20260728074558-95cd21b708141.9.10-0.20260728074558-95cd21b70814

Affected products

VendorProductAffected versions
NginxuiNginx Ui
from 2.0.0 before 2.5.0

Weakness classification

References