# CVE-2023-2515: Privilege escalation to system admin via personal access tokens

- Severity: Medium 4.7 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2023-05-12T08:53:44.111Z
- Modified: 2026-06-17T05:52:45.670Z
- Also known as: GHSA-7g2v-2frm-rg94, BIT-MATTERMOST-2023-2515
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

Mattermost fails to restrict a user with permissions to edit other users and to create personal access tokens from elevating their privileges to system admin

(As written by CVE List.)

## Affected

- Mattermost Mattermost: up to 7.1.7; up to 7.7.3; up to 7.8.2; up to 7.9.1 (not affected: 7.1.8; 7.7.4; 7.8.3; 7.9.2)
- github.com/mattermost/mattermost-server/v6 (Go): before 7.1.8; from 7.2.0 before 7.7.4; from 7.8.0 before 7.8.3; from 7.9.0 before 7.9.2
- mattermost mattermost_server: before 7.1.8; from 7.2.0 before 7.7.4; from 7.8.0 before 7.8.3; from 7.9.0 before 7.9.2
- mattermost (Bitnami): before 7.1.8; from 7.2.0 before 7.7.4; from 7.8.0 before 7.8.3; from 7.9.0 before 7.9.2

## Every score

- Mattermost: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2515> (advisory, web)
- <https://github.com/mattermost/mattermost-server> (package)

## Sources

- CVE List: [CVE-2023-2515](https://www.cve.org/CVERecord?id=CVE-2023-2515), CVE Terms of Use, modified 2024-12-06
- GitHub Advisory Database: [GHSA-7g2v-2frm-rg94](https://github.com/advisories/GHSA-7g2v-2frm-rg94), CC-BY-4.0, modified 2023-12-06
- NVD: [CVE-2023-2515](https://nvd.nist.gov/vuln/detail/CVE-2023-2515), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MATTERMOST-2023-2515](https://osv.dev/vulnerability/BIT-MATTERMOST-2023-2515), Apache-2.0, modified 2025-04-03

---

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