# CVE-2023-39958: Missing brute force protection on password reset token OAuth2 API controller

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-08-10T17:04:51.729Z
- Modified: 2026-06-17T06:13:01.900Z
- Weaknesses: CWE-307
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 22.0.0 and prior to versions 22.2.10.13, 23.0.12.8, 24.0.12.5, 25.0.9, 26.0.4, and 27.0.1, missing protection allows an attacker to brute force the client secrets of configured OAuth2 clients. Nextcloud Server versions 25.0.9, 26.0.4, and 27.0.1 and Nextcloud Enterprise Server versions 22.2.10.13, 23.0.12.8, 24.0.12.5, 25.0.9, 26.0.4, and 27.0.1 contain a patch for this issue. No known workarounds are available.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 22.0.0, < 22.2.10.13; >= 23.0.0, < 23.0.12.8; >= 24.0.0, < 24.0.12.5; >= 25.0.0, < 25.0.9; >= 26.0.0, < 26.0.4; >= 27.0.0, < 27.0.1
- nextcloud nextcloud_server: from 22.0.0 before 22.2.10.14; from 23.0.0 before 23.0.12.9; from 24.0.0 before 24.0.12.5; from 25.0.0 before 25.0.9; from 26.0.0 before 26.0.4; 27.0.0

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-vv27-g2hq-v48h> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/38773> (patch, vendor-advisory)
- <https://hackerone.com/reports/1258448> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-39958](https://www.cve.org/CVERecord?id=CVE-2023-39958), CVE Terms of Use, modified 2024-10-10
- NVD: [CVE-2023-39958](https://nvd.nist.gov/vuln/detail/CVE-2023-39958), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-39958 · Whole record: https://cve.day/CVE-2023-39958.json · Rebuilt by cve.day 2026-11-25T22:58:27.025Z
