CVE-2022-31131
published medium CVSS 3.1 · 5.4Ownership check missing when updating or deleting mail attachments in Nextcloud mail
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextcloud | — | security-advisories< 1.12.2 | Affected | Not stated | GitHub_M |
Description
Nextcloud mail is a Mail app for the Nextcloud home server product. Versions of Nextcloud mail prior to 1.12.2 were found to be missing user account ownership checks when performing tasks related to mail attachments. Attachments may have been exposed to incorrect system users. It is recommended that the Nextcloud Mail app is upgraded to 1.12.2. There are no known workarounds for this issue. ### Workarounds No workaround available ### References * [Pull request](https://github.com/nextcloud/mail/pull/6600) * [HackerOne](https://hackerone.com/reports/1579820) ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories](https://github.com/nextcloud/security-advisories/discussions) * Customers: Open a support ticket at [support.nextcloud.com](https://support.nextcloud.com)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextcloud | security-advisories | < 1.12.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
3Provider assertions
3GitHub_M · cna
Ownership check missing when updating or deleting mail attachments in Nextcloud mail
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8b3e52fc7ea78d6405eec5a64264377355b67ea01651c4a44177381a511ff079
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record