What’s Vulnerable › Vulnerabilities

CVE-2025-66558: Nextcloud Twofactor WebAuthn app was updated based on public key

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.

Affected products

How to fix

Upgrade to a fixed version: nextcloud Two-Factor Webauthn 1.4.2, 2.4.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-66558 or the next vulnerability affects your stack