CVE-2025-47790
published medium CVSS 3.1 · 6.4Nextcloud Server doesn't request second factor after session timeout
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextcloud | — | security-advisories>= 26.0.0, < 26.0.13.15 · >= 27.0.0, < 27.1.11.15 · >= 28.0.0, < 28.0.14.6 · >= 29.0.0, < 29.0.15 · >= 30.0.0, < 30.0.9 · >= 31.0.0, < 31.0.3 | Affected | Not stated | GitHub_M |
Description
Nextcloud Server is a self hosted personal cloud system. Nextcloud Server prior to 29.0.15, 30.0.9, and 31.0.3 and Nextcloud Enterprise Server prior to 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9, and 31.0.3 have a bug with session handling. The bug caused skipping the second factor confirmation after a successful login with the username and password when the server was configured with `remember_login_cookie_lifetime` set to `0`, once the session expired on the page to select the second factor and the page is reloaded. Nextcloud Server 29.0.15, 30.0.9, and 31.0.3 and Nextcloud Enterprise Server is upgraded to 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9 and 31.0.3 contain a patch. As a workaround, set the `remember_login_cookie_lifetime` in config.php to a value other than `0`, e.g. `900`. Beware that this is only a workaround for new sessions created after the configuration change. System administration can delete affected sessions.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextcloud | security-advisories | >= 26.0.0, < 26.0.13.15 (affected)>= 27.0.0, < 27.1.11.15 (affected)>= 28.0.0, < 28.0.14.6 (affected)>= 29.0.0, < 29.0.15 (affected)>= 30.0.0, < 30.0.9 (affected)>= 31.0.0, < 31.0.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
3Provider assertions
2GitHub_M · cna
Nextcloud Server doesn't request second factor after session timeout
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 21b6f36ed0bb75a55ed9d439790c4ace463c01cddb8c861a03a5aaab9c4f0a9e
- Ingested
- 23 Sep 2026, 08:50:18 UTC
- Source record
- Official CVE record