Vulnerabilities · 2025 · Nextcloud
CVE-2025-66558
Nextcloud Two-factor Webauthn vulnerability
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
Two-factor Webauthn. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Two-factor Webauthn runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nextcloud/security-advisories/security/advisories/GHSA-fr8x-mvjg-wf9q · Patch
- hackerone.com/reports/3360354 · Vendor Advisory
- github.com/nextcloud/twofactor_webauthn/commit/5d2302166d31ee2e01b2e21556bd5372156da13d · Patch
- github.com/nextcloud/twofactor_webauthn/pull/881 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-66558
- cve.org/CVERecord?id=CVE-2025-66558
More vulnerabilities in Nextcloud products
CVE-2025-66557CVE-2025-66556CVE-2025-66554CVE-2025-66553CVE-2025-66552CVE-2025-66551CVE-2025-66550CVE-2025-66549All 353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.