CVE-2025-58073 — Vulnerability in mattermost/mattermost-server
Mattermost has a Missing Authorization vulnerability
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-58073 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.
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 OAuth state.
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 get github.com/mattermost/mattermost-server@v10.5.11
go get github.com/mattermost/mattermost-server@v10.10.3
go get github.com/mattermost/mattermost-server@v10.11.2
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250807174701-e14175eb6539
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Go (2).
| Package | Fixed In |
|---|---|
| github.com/mattermost/mattermost-server Go · Affected: All versions | 10.5.11 |
| github.com/mattermost/mattermost-server Go · Affected: All versions | 10.10.3 |
| github.com/mattermost/mattermost-server Go · Affected: All versions | 10.11.2 |
| github.com/mattermost/mattermost/server/v8 Go · Affected: All versions | 8.0.0-20250807174701-e14175eb6539 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-862Missing AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-58073ADVISORY
- https://github.com/mattermost/mattermost/commit/2096f975b2c0ebe95fb1078c3b1a527da574796dWEB
- https://github.com/mattermost/mattermost/commit/39bd251fe4f66b7e847fc6d653221886347ff160WEB
- https://github.com/mattermost/mattermost/commit/e14175eb65393bebc16dbb68a8105b3094b0f0ddWEB
- https://github.com/mattermost/mattermostPACKAGE
- https://mattermost.com/security-updatesWEB
Frequently Asked Questions
- What is CVE-2025-58073?
- 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-58073?
- CVE-2025-58073 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-58073 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
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
Related CVEs
- CVE-2025-12419CRITICAL
Mattermost fails to properly validate OAuth state tokens during OpenID Connect authentication
- CVE-2025-12421CRITICAL
Mattermost fails to to verify the token used during code exchange
- CVE-2025-4981CRITICAL
Mattermost allows authenticated users to write files to arbitrary locations
- CVE-2026-7387HIGH
Mattermost doesn't require role-management authorization when setting the scheme_admin flag on group syncable link and patch endpoints
- CVE-2026-24458HIGH
Mattermost fails to properly handle very long passwords
- CVE-2025-9079HIGH
Mattermost Path Traversal vulnerability
- CVE-2025-58075HIGH
Mattermost has a Missing Authorization vulnerability
- CVE-2026-5740HIGH
Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation