What’s Vulnerable › Vulnerabilities
CVE-2023-23944: Nexcloud Mail app temporarily stores cleartext password in database
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-06 · updated 2026-06-17
- Weakness: CWE-312
Description
Nextcloud mail is an email app for the nextcloud home server platform. In versions prior to 2.2.2 user's passwords were stored in cleartext in the database during the duration of OAuth2 setup procedure. Any attacker or malicious user with access to the database would have access to these user passwords until the OAuth setup has been completed. It is recommended that the Nextcloud Mail app is upgraded to 2.2.2. There are no known workarounds for this issue.
Affected products
- nextcloud Mail: before 2.2.2 — fixed in 2.2.2
How to fix
Upgrade to a fixed version: nextcloud Mail 2.2.2. Check the vendor advisory for mitigations.
References
- https://github.com/nextcloud/mail/pull/7797
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-g86r-x755-93f4
- https://hackerone.com/reports/1806275
- https://github.com/nextcloud/mail/pull/7797
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-g86r-x755-93f4
- https://hackerone.com/reports/1806275
Get alerted when CVE-2023-23944 or the next vulnerability affects your stack