{"id":"CVE-2023-2515","aliases":["BIT-mattermost-2023-2515","EUVD-2023-1492","GHSA-7g2v-2frm-rg94"],"status":"published","title":"Privilege escalation to system admin via personal access tokens","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","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00469,"percentile":0.40872,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-863"],"published":"2023-05-12T08:53:44Z","modified":"2026-10-28T02:30:34Z","fixes":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","fixed_in":["7.1.8","7.7.4","7.8.3","7.9.2"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"mattermost","fixed_in":["7.1.8","7.7.4","7.8.3","7.9.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.1.8"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.7.4"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.8.0"},{"fixed":"7.8.3"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.9.0"},{"fixed":"7.9.2"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"mattermost","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.1.8"},{"introduced":"7.2.0"},{"fixed":"7.7.4"},{"introduced":"7.8.0"},{"fixed":"7.8.3"},{"introduced":"7.9.0"},{"fixed":"7.9.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.1.8"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"SEMVER","events":[{"introduced":"7.2.0"},{"fixed":"7.7.4"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"SEMVER","events":[{"introduced":"7.8.0"},{"fixed":"7.8.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","ranges":[{"type":"SEMVER","events":[{"introduced":"7.9.0"},{"fixed":"7.9.2"}]}]}],"products":[{"vendor":"mattermost","product":"mattermost"},{"vendor":"mattermost","product":"mattermost_server"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2515","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-7g2v-2frm-rg94"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2515.json","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost-server","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-2515","title":"Privilege escalation to system admin via personal access tokens","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\n","status":"published","published":"2023-05-12T08:53:44.111Z","modified":"2024-12-06T23:04:24.695Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:35:24.004321Z"}],"euvd":[{"id":"EUVD-2023-1492","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\n","status":"published","published":"2023-05-12T08:53:44Z","modified":"2024-12-06T23:04:24Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T00:04:38.652605Z"}],"ghsa":[{"id":"GHSA-7g2v-2frm-rg94","title":"Mattermost Incorrect Authorization vulnerability","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\n","status":"published","published":"2023-05-12T09:30:15Z","modified":"2023-11-05T05:05:13Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:37:13.301199Z"}],"nvd":[{"id":"CVE-2023-2515","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\n","status":"published","published":"2023-05-12T09:15:10.373Z","modified":"2026-06-17T05:52:45.67Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T14:08:02.399327Z"}],"osv":[{"id":"CVE-2023-2515","title":"Privilege escalation to system admin via personal access tokens","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\n","status":"published","published":"2023-05-12T08:53:44.111Z","modified":"2026-10-28T02:30:34.560138926Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T15:44:30.709518Z"},{"id":"GHSA-7g2v-2frm-rg94","title":"Mattermost Incorrect Authorization vulnerability","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\n","status":"published","published":"2023-05-12T09:30:15Z","modified":"2023-12-06T01:02:53.144803Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-863"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"BIT-mattermost-2023-2515","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","status":"published","published":"2024-03-06T11:01:44.573Z","modified":"2025-04-03T14:40:37.652Z","updated_at":"2026-11-02T15:28:33.072289Z"}]}}
