CVE-2024-22403
published low CVSS 3.1 · 3.0OAuth2 authorization codes are valid indefinetly in Nextcloud server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextcloud | — | security-advisories< 28.0.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.0 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextcloud | security-advisories | < 28.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-613 CWE-613: Insufficient Session Expiration
References
4Provider assertions
3GitHub_M · cna
OAuth2 authorization codes are valid indefinetly in Nextcloud server
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b03ebd72280b4ef820e2c19d4ab4e8cc1e4f693f04ae5bbc71f3bb6c25129126
- Ingested
- 23 Sep 2026, 08:19:14 UTC
- Source record
- Official CVE record