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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-16 · Modified: 2025-05-16
- Record: https://cvemate.com/vulnerability/CVE-2025-47790 · JSON: https://cvemate.com/vulnerability/CVE-2025-47790/json

## Description

```text
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.
```

## Signals

- CVSS: 6.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.4%, percentile 36.332%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- 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
- nextcloud 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

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-9h3w-f3h4-qqrh>
- <https://github.com/nextcloud/server/pull/51905>
- <https://hackerone.com/reports/2729367>

---

Data as of 2026-12-05T04:44:23.513Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
