Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server
  4. ›
  5. CVE-2025-58075

CVE-2025-58075: Mattermost has a Missing Authorization vulnerability

October 16, 2025

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.

References

  • github.com/advisories/GHSA-r6qj-894f-5hr2
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/0e478b2d895e89143c7732c7b33e16d98ace663d
  • github.com/mattermost/mattermost/commit/2d5cdc6e217eb244e7f2122cb89f85140b6d982a
  • github.com/mattermost/mattermost/commit/7a2ac23e207429d7db8acc3770908c15c0b5c33e
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2025-58075

Code Behaviors & Features

Detect and mitigate CVE-2025-58075 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 10.5.0 before 10.5.11, all versions starting from 10.10.0 before 10.10.3, all versions starting from 10.11.0 before 10.11.2

Fixed versions

  • 10.11.2
  • 10.10.3
  • 10.5.11

Solution

Upgrade to versions 10.10.3, 10.11.2, 10.5.11 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/mattermost/mattermost-server/CVE-2025-58075.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:41 +0000.