Loading...
Skip to main content

CVE-2025-58075

HIGH

Mattermost has a Missing Authorization vulnerability

Published October 16, 2025Updated November 5, 2025Source: osv

Summary

Mattermost versions 10.11.x <= 10.11.1, 10.10.x <= 10.10.2, 10.5.x <= 10.5.10 fail to verify a user has permission to join a Mattermost team using the original invite token which allows any attacked to join any team on a Mattermost server regardless of restrictions via manipulating the RelayState.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/mattermost/mattermost/server/v8 to 8.0.0-20250815100400-2d5cdc6e217e or later
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250815100400-2d5cdc6e217e
Go
Update github.com/mattermost/mattermost-server to 10.10.3 or later
go get github.com/mattermost/mattermost-server@v10.10.3
Go
Update github.com/mattermost/mattermost-server to 10.11.2 or later
go get github.com/mattermost/mattermost-server@v10.11.2
Go
Update github.com/mattermost/mattermost-server to 10.5.11 or later
go get github.com/mattermost/mattermost-server@v10.5.11

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

Affected Packages (4)

PackageEcosystemAffectedFixed In
github.com/mattermost/mattermost/server/v8
go
All versions8.0.0-20250815100400-2d5cdc6e217e
github.com/mattermost/mattermost-server
go
All versions10.10.3
github.com/mattermost/mattermost-server
go
All versions10.11.2
github.com/mattermost/mattermost-server
go
All versions10.5.11

Vulnerability Classification

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

  • CWE-862
    Missing AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 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
None

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

Frequently Asked Questions

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

Severity & Exploitability

CVSS Score
8.1

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-r6qj-894f-5hr2
GO-2025-4035

Related CVEs

  • CVE-2025-12419
    CRITICAL

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

  • CVE-2025-12421
    CRITICAL

    Mattermost fails to to verify the token used during code exchange

  • CVE-2025-4981
    CRITICAL

    Mattermost allows authenticated users to write files to arbitrary locations

  • CVE-2017-18888
    CRITICAL

    Mattermost Server is vulnerable to SQL Injection when executing multiple POST requests

  • CVE-2025-58073
    HIGH

    Mattermost has a Missing Authorization vulnerability

  • CVE-2026-6346
    HIGH

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

  • CVE-2026-24458
    HIGH

    Mattermost fails to properly handle very long passwords

  • CVE-2026-5740
    HIGH

    Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation

Check if you're affected

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

Scan Your Dependencies