Loading...
Skip to main content

CVE-2023-2515 — Vulnerability in...

HIGH

Mattermost Incorrect Authorization vulnerability

Published May 12, 2023Updated December 6, 2023Source: osv

Summary

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

Advisory Timeline

  • First published May 12, 2023 (1249 days ago).
  • Last revised December 6, 2023 — 208 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/mattermost/mattermost-server/v6 to 7.7.4 or later
go get github.com/mattermost/mattermost-server/v6@v7.7.4
Go
Update github.com/mattermost/mattermost-server/v6 to 7.8.3 or later
go get github.com/mattermost/mattermost-server/v6@v7.8.3
Go
Update github.com/mattermost/mattermost-server/v6 to 7.9.2 or later
go get github.com/mattermost/mattermost-server/v6@v7.9.2
Go
Update github.com/mattermost/mattermost-server/v6 to 7.1.8 or later
go get github.com/mattermost/mattermost-server/v6@v7.1.8

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: go (1).

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-2515?
Mattermost Incorrect Authorization vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2023-2515?
CVE-2023-2515 affects github.com/mattermost/mattermost-server/v6. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-2515 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-7g2v-2frm-rg94
BIT-mattermost-2023-2515

Related CVEs

  • CVE-2025-12419
    CRITICAL

    Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication

  • CVE-2026-7387
    HIGH

    Mattermost doesn't require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints

  • CVE-2025-58073
    HIGH

    Mattermost has a Missing Authorization vulnerability

  • CVE-2026-6347
    HIGH

    Mattermost doesn't sanitize sensitive configuration fields in the Mattermost Calls plugin

  • CVE-2026-6961
    HIGH

    Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync

  • CVE-2026-6346
    HIGH

    Mattermost doesn't sanitize sensitive configuration fields before including them in support packet generation

  • CVE-2026-5308
    HIGH

    Mattermost doesn't enforce request body size limits on plugin HTTP endpoints

  • CVE-2026-24458
    HIGH

    Mattermost fails to properly handle very long passwords

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies