CVE-2024-22403

    Dashboard / Vulnerabilities / CVE-2024-22403

    CVE-2024-22403

    Published: 18 Jan 2024Last Modified: 12 Aug 2026

    Summary: OAuth2 authorization codes are valid indefinetly in Nextcloud server

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v28.0.0rc4
    v28.0.0rc3
    v28.0.0rc2
    v28.0.0rc1
    v28.0.0beta4
    v28.0.0beta3
    v28.0.0beta2
    v28.0.0beta1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2024-22403 | CVE-DB