# CVE-2021-37861: Mattermost 6.0.2 and earlier fails to sufficiently sanitize user's password in audit logs when user creation fails.

- Severity: Medium 5.8 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 60% of CVEs (2026-12-01)
- Published: 2021-12-09T21:32:28.000Z
- Modified: 2026-06-17T04:01:12.840Z
- Weaknesses: CWE-532
- Assigned by: Mattermost

## Description

Mattermost 6.0.2 and earlier fails to sufficiently sanitize user's password in audit logs when user creation fails.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from unspecified up to 6.0.2; up to 6.0.2

## Every score

- Mattermost: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://mattermost.com/security-updates/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-37861](https://www.cve.org/CVERecord?id=CVE-2021-37861), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-37861](https://nvd.nist.gov/vuln/detail/CVE-2021-37861), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37861 · Whole record: https://cve.day/CVE-2021-37861.json · Rebuilt by cve.day 2026-11-25T22:58:05.916Z
