# CVE-2023-2788: Deactivated user can retain access using oauth2 api

- Severity: Medium 6.2 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L`
- 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.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2023-06-16T08:58:15.392Z
- Modified: 2026-06-17T05:53:26.567Z
- Weaknesses: CWE-613, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Mattermost

## Description

Mattermost fails to check if an admin user account active after an oauth2 flow is started, allowing an attacker with admin privileges to retain persistent access to Mattermost by obtaining an oauth2 access token while the attacker's account is deactivated.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: up to 7.1.9; up to 7.8.4; up to 7.9.3; 7.10.0; from 7.1.0 up to 7.1.9; from 7.8.0 up to 7.8.4; from 7.9.0 up to 7.9.3 (not affected: 7.1.10; 7.8.5; 7.9.4; 7.10.1)

## Every score

- Mattermost: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

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

## Sources

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

---

Page: https://cve.day/CVE-2023-2788 · Whole record: https://cve.day/CVE-2023-2788.json · Rebuilt by cve.day 2026-11-25T22:58:24.902Z
