Read the docs
TI-2025-30255 Aliases CVE-2025-47790

Nextcloud Server doesn't request second factor after session timeout

Priority LOW 31CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-287.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00393 33rd percentileScored 2026-11-07
Fix Fixed security-advisories (nextcloud): 26.0.13.15, 27.1.11.15, 28.0.14.6 +3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nextcloudsecurity-advisories26.0.0 to before 26.0.13.15; 27.0.0 to before 27.1.11.15; 28.0.0 to before 28.0.14.6; 29.0.0 to before 29.0.15; 30.0.0 to before 30.0.9; 31.0.0 to before 31.0.326.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9, 31.0.3Patch availableCNA
  • security-advisories Vendornextcloud Affected 26.0.0 to before 26.0.13.15; 27.0.0 to before 27.1.11.15; 28.0.0 to before 28.0.14.6; 29.0.0 to before 29.0.15; 30.0.0 to before 30.0.9; 31.0.0 to before 31.0.3 Fixed in 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9, 31.0.3 Patch available CNA

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*26.0.0 to before 26.0.13.15; 27.0.0 to before 27.1.11.15; 28.0.0 to before 28.0.14.6Vulnerablenextcloud
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*29.0.0 to before 29.0.15Vulnerablenextcloud
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*29.0.0 to before 29.0.15Vulnerablenextcloud
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*30.0.0 to before 30.0.9Vulnerablenextcloud
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*30.0.0 to before 30.0.9Vulnerablenextcloud
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:*31.0.0 to before 31.0.3Vulnerablenextcloud
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:*31.0.0 to before 31.0.3Vulnerablenextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* Versions 26.0.0 to before 26.0.13.15; 27.0.0 to before 27.1.11.15; 28.0.0 to before 28.0.14.6 Vulnerable ·nextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* Versions 29.0.0 to before 29.0.15 Vulnerable ·nextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* Versions 29.0.0 to before 29.0.15 Vulnerable ·nextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* Versions 30.0.0 to before 30.0.9 Vulnerable ·nextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* Versions 30.0.0 to before 30.0.9 Vulnerable ·nextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:-:*:*:* Versions 31.0.0 to before 31.0.3 Vulnerable ·nextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:enterprise:*:*:* Versions 31.0.0 to before 31.0.3 Vulnerable ·nextcloud

Remediation

  • Fix · CNA security-advisories (nextcloud) Fixed in 26.0.13.15, 27.1.11.15, 28.0.14.6, 29.0.15, 30.0.9, 31.0.3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-47790

References

  • TI-2023-20855 Users can delete external storage mount points CVSS 3.1HIGH 7.7
  • TI-2023-11091 Nextcloud download permissions can be changed by resharer CVSS 3.1HIGH 7.5
  • TI-2023-10624 Nextcloud Server vulnerable to SSRF via filter bypass due to lax checking on IPs CVSS 3.1MEDIUM 5.3
  • TI-2025-37238 Cross-site scripting in Nextcloud CVSS 3.1MEDIUM 6.4
  • TI-2023-11086 nextcloud vulnerable to Uncontrolled Resource Consumption CVSS 3.1MEDIUM 6.5
  • TI-2022-18738 Exception logging in Sharepoint app reveals clear-text connection details CVSS 3.1MEDIUM 6.5
See all 188 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences