CVE-2025-47790: Nextcloud Server doesn't request second factor after session timeout
Vulnerability summary
CVE-2025-47790 is a medium (CVSS 6.4) Improper Authentication vulnerability in nextcloud nextcloud_server. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.3% of scored vulnerabilities.
Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 16-05-2025PublishedVulnerability first disclosed.
- 16-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST6.4MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.39% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Nextcloud2 products
- nextcloud_server≥ 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
- 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
1 vendor · 2 products
References
3 links- github.com/nextcloud/security-advisories/security/advisories/GHSA-9h3w-f3h4-qqrhX Refsource CONFIRMVendor Advisory