CVE-2025-47790 Details
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.
A session handling vulnerability has been identified in Nextcloud Server versions 29.0.0 through 29.0.14, 30.0.0 through 30.0.9, and 31.0.0 through 31.0.3, as well as in Nextcloud Enterprise Server versions 26.0.0 through 26.0.13.15, 27.0.0 through 27.1.11.14, 28.0.0 through 28.0.14.5, 29.0.0 through 29.0.14, 30.0.0 through 30.0.9, and 31.0.0 through 31.0.3. The vulnerability causes the server to skip the second factor confirmation after a successful login when the 'remember_login_cookie_lifetime' is set to '0'. This issue arises when the session expires on the second factor selection page and the page is reloaded, allowing users to bypass two-factor authentication.
Users can upgrade to Nextcloud Server versions 29.0.15, 30.0.9, or 31.0.3, or to Nextcloud Enterprise Server versions 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9, or 31.0.3. As an additional step, set the 'remember_login_cookie_lifetime' in config.php to a value other than '0', such as '900'. Note that this workaround only applies to new sessions created after the configuration change. System administrators can also delete affected sessions.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9h3w-f3h4-qqrh | [email protected] | Vendor Advisory |
| https://github.com/nextcloud/server/pull/51905 | [email protected] | Issue Tracking |
| https://hackerone.com/reports/2729367 | [email protected] | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nextcloud 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 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 30, 2025 | Initial Analysis | [email protected] |
| May 16, 2025 | New CVE Received | [email protected] |