Description
Nextcloud Twofactor WebAuthn is the WebAuthn Two-Factor Provider for Nextcloud. Prior to 1.4.2 and 2.4.1, a missing ownership check allowed an attack to take-away a 2FA webauthn device when correctly guessing a 80-128 character long random string of letters, numbers and symbols. The victim would then be prompted to register a new device on the next login. The attacker can not authenticate as the victim. This vulnerability is fixed in 1.4.2 and 2.4.1.
Details
CVE ID
CVE-2025-66558
Published / updated
05 Dec 2025, 18:15 UTC · last modified 15 Oct 2026, 21:10 UTC
Severity
MEDIUM
CVSS score
4.3 · v3.1 ·
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N · Attack vector: NetworkAffected vendor
Affected products
Two-Factor Webauthn
Affected versions
Two-Factor Webauthn: ≥ 1.0.0, < 1.4.2
Two-Factor Webauthn: ≥ 2.0.0, < 2.4.1
Fixed versions
two-factor webauthn 1.4.2, two-factor webauthn 2.4.1
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.30% probability of exploitation in the next 30 days · 24% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (two-factor webauthn 1.4.2, two-factor webauthn 2.4.1) per the vendor advisory.
Source (CNA)
security-advisories@github.com
References (4)
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fr8x-mvjg-wf9q | PatchVendor Advisory |
| https://hackerone.com/reports/3360354 | Permissions RequiredVendor Advisory |
| https://github.com/nextcloud/twofactor_webauthn/commit/5d2302166d31ee2e01b2e21556bd5372156da13d | Patch |
| https://github.com/nextcloud/twofactor_webauthn/pull/881 | Issue TrackingPatch |
AI plain-English explainer
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
CVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readHow to Check Whether Your Software Version Is Affected by a CVEA version match is a starting point, not a verdict. A step-by-step method to confirm exposure using advisories, version ranges and backport notes.Intermediate · 4-minute readTrack this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Nextcloud Two-Factor Webauthn