CVE-2022-31131
CVE-2022-31131 is a medium-severity vulnerability in Nextcloud Nextcloud Mail with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-639.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-639
- Affected product: Nextcloud Nextcloud Mail
- Published:
- Last modified:
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)
Frequently asked questions
- What is CVE-2022-31131?
- 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)
- How severe is CVE-2022-31131?
- CVE-2022-31131 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2022-31131 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-31131?
- CVE-2022-31131 affects Nextcloud Nextcloud Mail. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-31131?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-31131 published?
- CVE-2022-31131 was published on 2022-07-06 and last updated on 2026-06-17.
References
- https://github.com/nextcloud/mail/pull/6600
- https://github.com/nextcloud/mail/pull/6600/commits/6dd2527be8d4f6788b449c8a8f5577628b990605
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-xhv7-5mhv-299j
Affected products (1)
- cpe:2.3:a:nextcloud:nextcloud_mail:*:*:*:*:*:*:*:*
Other CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities
- CVE-2026-109469 — Critical (CVSS 10.0): Authorization bypass through user-controlled key in Entra Device Registration allows an unauthorized attacker to…
- CVE-2024-34323 — Critical (CVSS 10.0): ProPhoenix Law RMS v2022.2403.3.101 was discovered to contain an Insecure Direct Object Reference (IDOR) via the…
- CVE-2026-69865 — Critical (CVSS 10.0): Authorization bypass through user-controlled key in Microsoft Container Registry allows an unauthorized attacker to…
- CVE-2026-83711 — Critical (CVSS 10.0): Authorization bypass through user-controlled key in Microsoft Azure Active Directory B2C allows an unauthorized…
- CVE-2026-77998 — Critical (CVSS 10.0): Joomla Extension - miniorange.com - Unauthenticated Authentication Bypass via SAMLResponse Parameter in miniOrange SAML…
- CVE-2026-77995 — Critical (CVSS 10.0): Joomla Extension - miniorange.com - Arbitrary account takeover in miniOrange OAuth Client < 3.2.0, OAuth Single Sign-On…
Browse all CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities →