# CVE-2025-58073: Arbitrary Mattermost Team can be joined by manipulating the OAuth state

- Severity: High 8.1 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-10-16T08:44:26.158Z
- Modified: 2026-10-19T16:10:00.260Z
- Also known as: GHSA-6q7m-p8cc-998r, GO-2025-4032
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Mattermost

## Description

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.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 10.11.0 up to 10.11.1; from 10.10.0 up to 10.10.2; from 10.5.0 up to 10.5.10 (not affected: 10.12.0; 10.11.2; 10.10.3; 10.5.11)
- github.com/mattermost/mattermost/server/v8 (Go): before 8.0.0-20250807174701-e14175eb6539
- github.com/mattermost/mattermost-server (Go): from 10.11.0 before 10.11.2; from 10.10.0 before 10.10.3; from 10.5.0 before 10.5.11; from 10.5.0+incompatible before 10.5.11+incompatible; from 10.10.0+incompatible before 10.10.3+incompatible; from 10.11.0+incompatible before 10.11.2+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 10.5.0 before 10.5.11; from 10.10.0 before 10.10.3; from 10.11.0 before 10.11.3

## Every score

- Mattermost: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58073> (advisory)
- <https://github.com/mattermost/mattermost/commit/2096f975b2c0ebe95fb1078c3b1a527da574796d> (web)
- <https://github.com/mattermost/mattermost/commit/39bd251fe4f66b7e847fc6d653221886347ff160> (web)
- <https://github.com/mattermost/mattermost/commit/e14175eb65393bebc16dbb68a8105b3094b0f0dd> (web)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-6q7m-p8cc-998r> (advisory)

## Sources

- CVE List: [CVE-2025-58073](https://www.cve.org/CVERecord?id=CVE-2025-58073), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-6q7m-p8cc-998r](https://github.com/advisories/GHSA-6q7m-p8cc-998r), CC-BY-4.0, modified 2025-11-05
- Go Vulnerability Database: [GO-2025-4032](https://pkg.go.dev/vuln/GO-2025-4032), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-58073](https://nvd.nist.gov/vuln/detail/CVE-2025-58073), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-58073 · Whole record: https://cve.day/CVE-2025-58073.json · Rebuilt by cve.day 2026-11-25T22:59:06.481Z
