Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass)
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-107808
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 16:52 UTC · Revision 1
Source evidence
Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass)
core-osv · Original sourcePublished 9 Oct 2026, 15:11 UTC
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.
osv:CVE-2026-107808
Complete source record
{
"id": "ea9ea61f0f2f16e9e0f23510ae3b311f91610437417b27d339534b1d1ddd4470",
"url": "https://osv.dev/vulnerability/CVE-2026-107808",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass)",
"summary": "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.",
"evidence": "osv:CVE-2026-107808",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-107808",
"aliases": [
"CVE-2026-107808",
"GHSA-45gv-9wjv-xh7p",
"GO-2026-6704"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/0xjacky/nginx-ui",
"type": "GIT",
"events": [
{
"introduced": "daee3ac7ade1162805b3af07807e2f4dc2affaf5"
},
{
"fixed": "acb59fdd81dbdd60abd0004e9ade573186a3be43"
},
{
"fixed": "95cd21b70814e5d9a48a359aa238aeea1ac97429"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nginxui:nginx_ui:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "95cd21b70814e5d9a48a359aa238aeea1ac97429"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "acb59fdd81dbdd60abd0004e9ade573186a3be43"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v2.5.0"
}
]
}
}
],
"versions": [
"v2.4.3",
"v2.4.2",
"v2.4.1",
"v2.4.0",
"v2.3.11",
"v2.3.10",
"v2.3.9",
"v2.3.8",
"v2.3.7",
"v2.3.6",
"v2.3.5",
"v2.3.4",
"v2.3.3",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.2.1",
"v2.2.0-patch.1",
"v2.2.0",
"v2.1.17",
"v2.1.16",
"v2.1.15",
"v2.1.14",
"v2.1.13",
"v2.1.12",
"v2.1.11",
"v2.1.10",
"v2.1.9",
"v2.1.8",
"v2.1.7",
"v2.1.6",
"v2.1.5",
"v2.1.4-patch.1",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1.0-patch.1",
"v2.1.0",
"v2.1.0-rc.3",
"v2.1.0-rc.2",
"v2.1.0-rc.1",
"v2.1.0-beta.1",
"v2.0.2",
"v2.0.1",
"v2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107808.json"
}
}
],
"modified": "2026-10-28T02:30:51.092795596Z",
"provider": "osv",
"references": [
"https://github.com/0xJacky/nginx-ui/releases/tag/v2.5.0",
"https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-45gv-9wjv-xh7p",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107808.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-107808",
"https://github.com/0xJacky/nginx-ui/commit/95cd21b70814e5d9a48a359aa238aeea1ac97429"
],
"provider_metadata": {
"cwe_ids": [
"CWE-287",
"CWE-305",
"CWE-308"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107808.json"
}
},
"related_cves": [
{
"value": "CVE-2026-107808",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519921,
"published_at": "2026-10-09T15:11:44.387+00:00"
}