Read the docs
TI-2024-14977 Aliases CVE-2024-22403

OAuth2 authorization codes are valid indefinetly in Nextcloud server

Priority LOW 18CWE-613Published · Updated

Key facts

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

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

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00452 39th percentileScored 2026-11-07
Fix Fixed security-advisories (nextcloud): 28.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

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-advisoriesbefore 28.0.028.0.0Patch availableCNA
  • security-advisories Vendornextcloud Affected before 28.0.0 Fixed in 28.0.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*before 28.0.0Vulnerablenextcloud
  • cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:* Versions before 28.0.0 Vulnerable ·nextcloud

Remediation

  • Fix · CNA security-advisories (nextcloud) Fixed in 28.0.0

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-22403

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