CVE-2024-22403: OAuth2 authorization codes are valid indefinetly in Nextcloud server
Vulnerability summary
CVE-2024-22403 is a low (CVSS 3.7) vulnerability in nextcloud nextcloud_server. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 40.9% of scored vulnerabilities.
Not severe (CVSS 3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 18-01-2024PublishedVulnerability first disclosed.
- 17-06-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA3.0LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.45%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.45% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Nextcloud2 products
- nextcloud_server< 28.0.0
- security-advisories< 28.0.0
1 vendor · 2 products
References
4 links- github.com/nextcloud/security-advisories/security/advisories/GHSA-wppc-f5g8-vx36X Refsource CONFIRMVendor Advisory