CVE-2025-47790
May 16, 2025
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.
Affected Packages
https://github.com/nextcloud/server.git (GITHUB):
Affected version(s) >=v30.0.0 <v30.0.9Fix Suggestion:
Update to version v30.0.9https://github.com/nextcloud/server.git (GITHUB):
Affected version(s) >=v29.0.0 <v29.0.15Fix Suggestion:
Update to version v29.0.15https://github.com/nextcloud/server.git (GITHUB):
Affected version(s) >=v31.0.0 <v31.0.3Fix Suggestion:
Update to version v31.0.3Related ResourcesĀ (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Authentication
EPSS
Base Score:
0.08