# CVE-2023-45151: OAuth2 client_secret stored in plain text in the Nextcloud database

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2023-10-16T18:41:28.713Z
- Modified: 2026-06-17T06:28:19.630Z
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Nextcloud server is an open source home cloud platform. Affected versions of Nextcloud stored OAuth2 tokens in plaintext which allows an attacker who has gained access to the server to potentially elevate their privilege. This issue has been addressed and users are recommended to upgrade their Nextcloud Server to version 25.0.8, 26.0.3 or 27.0.1. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 25.0.0, < 25.0.8; >= 26.0.0, < 26.0.3; >= 27.0.0, < 27.0.1
- nextcloud nextcloud_server: from 25.0.0 before 25.0.8; from 26.0.0 before 26.0.3; 27.0.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhgv-jcg9-p4m9> (vendor-advisory)
- <https://github.com/nextcloud/server/pull/38398> (issue-tracking, patch)
- <https://hackerone.com/reports/1994324> (permissions-required)

## Sources

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

---

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