Skip to main content

CVE-2025-58075 — Vulnerability in mattermost/mattermost-server

HIGH

Mattermost has a Missing Authorization vulnerability

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.48%). Schedule for your next planned update.

Does your project use an affected github.com/mattermost/mattermost-server version?

Paste your go.sum to check it for CVE-2025-58075 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

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.

Advisory Timeline

  • First published October 16, 2025 (406 days ago).
  • Last revised November 5, 2025 — 20 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/mattermost/mattermost-server to 10.5.11 or later
go get github.com/mattermost/mattermost-server@v10.5.11
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/v8 to 8.0.0-20250815100400-2d5cdc6e217e or later
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250815100400-2d5cdc6e217e

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Go (2).

PackageFixed In
github.com/mattermost/mattermost-server Go · Affected: All versions10.5.11
github.com/mattermost/mattermost-server Go · Affected: All versions10.10.3
github.com/mattermost/mattermost-server Go · Affected: All versions10.11.2
github.com/mattermost/mattermost/server/v8 Go · Affected: All versions8.0.0-20250815100400-2d5cdc6e217e

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 and github.com/mattermost/mattermost/server/v8. It has a 0.5% probability of exploitation within 30 days (EPSS score). 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

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.48%
EPSS percentile: 33.4

This is a below-median EPSS score — only 33.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

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

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum