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

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-12-05T18:00:49.792Z
- Modified: 2026-10-15T21:10:00.327Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: < 1.4.2; >= 2.0.0-beta.1, < 2.4.1
- nextcloud two-factor_webauthn: from 1.0.0 before 1.4.2; from 2.0.0 before 2.4.1

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-fr8x-mvjg-wf9q> (patch, vendor-advisory)
- <https://github.com/nextcloud/twofactor_webauthn/pull/881> (issue-tracking, patch)
- <https://github.com/nextcloud/twofactor_webauthn/commit/5d2302166d31ee2e01b2e21556bd5372156da13d> (patch)
- <https://hackerone.com/reports/3360354> (permissions-required, vendor-advisory)

## Sources

- CVE List: [CVE-2025-66558](https://www.cve.org/CVERecord?id=CVE-2025-66558), CVE Terms of Use, modified 2025-12-05
- NVD: [CVE-2025-66558](https://nvd.nist.gov/vuln/detail/CVE-2025-66558), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-66558 · Whole record: https://cve.day/CVE-2025-66558.json · Rebuilt by cve.day 2026-11-25T22:59:08.349Z
