CVE-2025-47790 | Nextcloud Server doesn't request second factor after session timeout

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.

Published: 2025-05-16 Last update: 2025-09-30 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-47790 is rated Low Risk (33.7/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.08%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-47790

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-12 0.03% 0.08% +0.04%
2 2026-03-04 0.05% 0.03% -0.02%
3 2026-03-02 0.05%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-47790

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.2 5.2 [email protected]

Weakness enumeration for CVE-2025-47790

Affected software / configurations for CVE-2025-47790

Vendor Product Version Raw CPE
nextcloud nextcloud_server >= 26.0.0, < 26.0.13.15 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
nextcloud nextcloud_server >= 27.0.0, < 27.1.11.15 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
nextcloud nextcloud_server >= 28.0.0, < 28.0.14.6 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
nextcloud nextcloud_server >= 29.0.0, < 29.0.15 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*
nextcloud nextcloud_server >= 29.0.0, < 29.0.15 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
nextcloud nextcloud_server >= 30.0.0, < 30.0.9 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*
nextcloud nextcloud_server >= 30.0.0, < 30.0.9 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*
nextcloud nextcloud_server >= 31.0.0, < 31.0.3 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*
nextcloud nextcloud_server >= 31.0.0, < 31.0.3 cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*

References for CVE-2025-47790

cvelogic Threat Intelligence