CVE-2025-66558: nextcloud security-advisories · Insecure Direct Object Reference
Affects nextcloud security-advisoriesSource CVE Database V5
Not known to be exploited · CVSS 3.1 Low : upgrade to 1.4.2 when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.4.2
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade nextcloud/twofactor_webauthn to 1.4.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubnextcloud/twofactor_webauthnpkg:github/nextcloud/twofactor_webauthnOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately verify their Nextcloud Twofactor WebAuthn versions and upgrade to 1.4.2 or 2.4.1 or later to remediate this vulnerability. Beyond patching, organizations should enforce strong random generation and protection of 2FA device keys to prevent guessing attacks. Monitoring authentication logs for unusual 2FA device re-registrations can help detect exploitation attempts. Implementing network segmentation and limiting access to Nextcloud administrative interfaces reduces exposure. Additionally, educating users about unexpected 2FA prompts and establishing rapid incident response procedures for authentication anomalies will mitigate operational impacts. Organizations should also consider multi-layered authentication strategies and continuous security assessments of their 2FA implementations. Finally, maintaining up-to-date backups and recovery plans ensures resilience against potential disruptions caused by such vulnerabilities.
Description
CVE-2025-66558 is a low-severity authorization bypass vulnerability in Nextcloud's Twofactor WebAuthn provider affecting versions prior to 1.4.2 and 2.4.1. The flaw arises from a missing ownership check that allows an attacker to take control of a victim's 2FA WebAuthn device by guessing a long random key string (80-128 characters). Although the attacker cannot authenticate as the victim, they can force the victim to re-register a new 2FA device upon next login, potentially disrupting user experience and 2FA integrity. The vulnerability requires remote network access, low privileges, and high attack complexity, with no user interaction needed. No known exploits are reported in the wild, and patches are available in versions 1.4.
References
- github.com/nextcloud/security-advisories/security/advisories/GHSA-fr8x-mvjg-wf9q (opens in a new tab)
- github.com/nextcloud/twofactor_webauthn/pull/881 (opens in a new tab)
- github.com/nextcloud/twofactor_webauthn/commit/5d2302166d31ee2e01b2e21556bd5372156da13d (opens in a new tab)
- hackerone.com/reports/3360354 (opens in a new tab)