What’s Vulnerable › Vulnerabilities
CVE-2023-45151: OAuth2 client_secret stored in plain text in the Nextcloud database
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-10-16 · updated 2026-06-17
- Weakness: CWE-312
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.
Affected products
- Nextcloud Server: from 25.0.0 before 25.0.8; from 26.0.0 before 26.0.3; 27.0.0 — fixed in 25.0.8, 26.0.3
How to fix
Upgrade to a fixed version: Nextcloud Server 25.0.8, 26.0.3. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhgv-jcg9-p4m9
- https://github.com/nextcloud/server/pull/38398
- https://hackerone.com/reports/1994324
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hhgv-jcg9-p4m9
- https://github.com/nextcloud/server/pull/38398
- https://hackerone.com/reports/1994324
Get alerted when CVE-2023-45151 or the next vulnerability affects your stack