CVE-2025-47790
MEDIUM 6.4CVSS 3.1Nextcloud 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.
- Published
- 16 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-287
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* |
>= 26.0.0, < 26.0.13.15 | 26.0.13.15 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* |
>= 27.0.0, < 27.1.11.15 | 27.1.11.15 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* |
>= 28.0.0, < 28.0.14.6 | 28.0.14.6 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* |
>= 29.0.0, < 29.0.15 | 29.0.15 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* |
>= 29.0.0, < 29.0.15 | 29.0.15 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* |
>= 30.0.0, < 30.0.9 | 30.0.9 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* |
>= 30.0.0, < 30.0.9 | 30.0.9 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* |
>= 31.0.0, < 31.0.3 | 31.0.3 |
| NVD | nextcloud | nextcloud_servercpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* |
>= 31.0.0, < 31.0.3 | 31.0.3 |
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9h3w-f3h4-qqrh · Vendor Advisory
- https://github.com/nextcloud/server/pull/51905 · Issue Tracking
- https://hackerone.com/reports/2729367 · Permissions Required
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 16 May 2025)