Description
Mattermost fails to properly sanitize the user object when updating the username, resulting in the password hash being included in the response body.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Mattermost | Mattermost | ≤ 7.8.11, ≤ 8.0.3, ≤ 8.1.2, ≤ 9.0.0 | 7.8.12 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Curtail-Inc/hello-ReGrade-security ★ 0 · Jul 4, 2026
Find the vulnerability your tests were never written to catch. A ReGrade demo modeling CVE-2023-5968: catch a password-hash leak by comparing an app to itself.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | < 5.3.2-0.20230825233148-f787fd63368a | 5.3.2-0.20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost-server/v5 | < 5.3.2-0.20230825233148-f787fd63368a | 5.3.2-0.20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost-server/v6 | >= 5.4.0-rc1, < 7.8.12 | 7.8.12 | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost-server/v6 | < 5.3.2-0.20230825233148-f787fd63368a | 5.3.2-0.20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | >= 8.0.0, < 8.0.4 | 8.0.4 | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | >= 8.1.0, < 8.1.3 | 8.1.3 | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | >= 9.0.0, < 9.0.1 | 9.0.1 | GHSA-r67m-mf7v-qp7j |
| Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20230825233148-f787fd63368a | 8.0.0-20230825233148-f787fd63368a | GHSA-r67m-mf7v-qp7j |