Nextcloud Mail up to 1.12.1 Attachment improper authentication

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability, which was classified as critical, was found in Nextcloud Mail up to 1.12.1 (Cloud Software). Affected is an unknown part of the component Attachment Handler. The manipulation with an unknown input leads to a improper authentication vulnerability. CWE is classifying the issue as CWE-287. When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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]( * [HackerOne]( ### For more information If you have any questions or comments about this advisory: * Create a post in [nextcloud/security-advisories]( * Customers: Open a support ticket at [](

The weakness was shared 07/07/2022 as GHSA-xhv7-5mhv-299j. The advisory is shared for download at This vulnerability is traded as CVE-2022-31131 since 05/18/2022. There are neither technical details nor an exploit publicly available.

Upgrading to version 1.12.2 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at The best possible mitigation is suggested to be upgrading to the latest version.






  • open-source

CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.2

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 4.3
NVD Vector: 🔍

CNA Base Score: 5.4
CNA Vector (GitHub, Inc.): 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Improper authentication
CWE: CWE-287
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Mail 1.12.2


05/18/2022 🔍
07/07/2022 +50 days 🔍
07/07/2022 +0 days 🔍
07/19/2022 +12 days 🔍


Advisory: GHSA-xhv7-5mhv-299j
Status: Confirmed

CVE: CVE-2022-31131 (🔍)


Created: 07/07/2022 09:13 AM
Updated: 07/19/2022 03:16 PM
Changes: 07/07/2022 09:13 AM (53), 07/19/2022 03:16 PM (18)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!