Vulnerabilities · 2022 · Nextcloud
CVE-2022-31119
Nextcloud Mail vulnerability
Nextcloud Mail is an email application for the nextcloud personal cloud product. Affected versions of Nextcloud mail would log user passwords to disk in the event of a misconfiguration. Should an attacker gain access to the logs complete access to affected accounts would be obtainable. It is recommended that the Nextcloud Mail is upgraded to 1.12.1. Operators should inspect their logs and remove passwords which have been logged. There are no workarounds to prevent logging in the event of a misconfiguration.
Affected products
Mail. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Mail runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/nextcloud/mail/pull/6488/commits/ab9ade57fbc1f465ffe905248f93f328d638d7e5 · Patch
- github.com/nextcloud/mail/issues/823 · Third Party Advisory
- github.com/nextcloud/security-advisories/security/advisories/GHSA-63m3-w68h-3wjg · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-31119
- cve.org/CVERecord?id=CVE-2022-31119
More vulnerabilities in Nextcloud products
CVE-2025-66558CVE-2025-66557CVE-2025-66556CVE-2025-66554CVE-2025-66553CVE-2025-66552CVE-2025-66551CVE-2025-66550All 353
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.