CVE-2024-22403 LOW

CVE-2024-22403: OAuth2 authorization codes are valid indefinetly in Nextcloud server

Vendor Nextcloud
Product security-advisories
Weakness CWE-613 · Insufficient session expiration
Published January 18, 2024
Last update June 17, 2025

CVSS base score

3.0/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality Low
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N

What the vulnerability does

01Description

Nextcloud server is a self hosted personal cloud system. In affected versions OAuth codes did not expire. When an attacker would get access to an authorization code they could authenticate at any time using the code. As of version 28.0.0 OAuth codes are invalidated after 10 minutes and will no longer be authenticated. To exploit this vulnerability an attacker would need to intercept an OAuth code from a user session. It is recommended that the Nextcloud Server is upgraded to 28.0.0. There are no known workarounds for this vulnerability.

Key dates

02Disclosure timeline

January 18, 2024 CVE published
June 17, 2025 Record updated