CVE-2025-66558 Details
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.
A vulnerability in the Nextcloud Twofactor WebAuthn app, affecting versions 1.0.0 through 1.4.1 and 2.0.0 through 2.4.0, allowed an attacker to remove a user's WebAuthn two-factor authentication device. This was possible by correctly guessing a random string of 80 to 128 characters, including letters, numbers, and symbols. As a result, the victim would be prompted to register a new device during their next login. However, the attacker could not authenticate as the victim.
Users are advised to update the Nextcloud Twofactor WebAuthn app to version 1.4.2 or 2.4.1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fr8x-mvjg-wf9q | [email protected] | PatchVendor Advisory |
| https://github.com/nextcloud/twofactor_webauthn/commit/5d2302166d31ee2e01b2e21556bd5372156da13d | [email protected] | Patch |
| https://github.com/nextcloud/twofactor_webauthn/pull/881 | [email protected] | Issue TrackingPatch |
| https://hackerone.com/reports/3360354 | [email protected] | Permissions RequiredVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nextcloud two-factor webauthn | >= 1.0.0, < 1.4.2 >= 2.0.0, < 2.4.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 9, 2025 | Initial Analysis | [email protected] |
| Dec 5, 2025 | New CVE Received | [email protected] |