{"id":"CVE-2025-58075","aliases":["CVE-2025-58075","GHSA-r6qj-894f-5hr2","GO-2025-4035"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Mattermost Team can be joined by manipulating the SAML RelayState","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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Mattermost has a Missing Authorization vulnerability in github.com/mattermost/mattermost-server.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/mattermost/mattermost/server/v8 before v8.0.0-20250815100400-2d5cdc6e217e.","format":"markdown","source":"go"},{"lang":"es","text":"Mattermost versiones 10.11.x menor o igual que 10.11.1, 10.10.x menor o igual que 10.10.2, 10.5.x menor o igual que 10.5.10 no verifican que un usuario tiene permiso para unirse a un equipo de Mattermost usando el token de invitación original, lo que permite a cualquier atacante unirse a cualquier equipo en un servidor de Mattermost independientemente de las restricciones, manipulando el RelayState.","source":"nvd"}],"published":"2025-10-16T08:20:06.939Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"10.11.0","lastAffected":"10.11.1","status":"affected"},{"type":"semver","introduced":"10.10.0","lastAffected":"10.10.2","status":"affected"},{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.10","status":"affected"},{"version":"10.12.0","status":"unaffected"},{"version":"10.11.2","status":"unaffected"},{"version":"10.10.3","status":"unaffected"},{"version":"10.5.11","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20250815100400-2d5cdc6e217e"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.11.0","status":"affected","fixed":"10.11.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.10.0","status":"affected","fixed":"10.10.3"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.5.0","status":"affected","fixed":"10.5.11"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.5.0+incompatible","status":"affected","fixed":"10.5.11+incompatible"},{"type":"semver","introduced":"10.10.0+incompatible","status":"affected","fixed":"10.10.3+incompatible"},{"type":"semver","introduced":"10.11.0+incompatible","status":"affected","fixed":"10.11.2+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"go"},{"ranges":[{"status":"affected","introduced":"10.5.0","fixed":"10.5.11"},{"status":"affected","introduced":"10.10.0","fixed":"10.10.3"},{"status":"affected","introduced":"10.11.0","fixed":"10.11.3"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58075","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/0e478b2d895e89143c7732c7b33e16d98ace663d","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/2d5cdc6e217eb244e7f2122cb89f85140b6d982a","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/7a2ac23e207429d7db8acc3770908c15c0b5c33e","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-r6qj-894f-5hr2","tags":["advisory"],"sources":["go"]}],"credits":["DoyenSec"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-22T03:55:14.709Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58075","url":"https://www.cve.org/CVERecord?id=CVE-2025-58075","licence":"CVE Terms of Use","modified":"2026-02-26T16:57:27.125Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r6qj-894f-5hr2","url":"https://github.com/advisories/GHSA-r6qj-894f-5hr2","licence":"CC-BY-4.0","modified":"2025-11-05T19:57:38.238Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4035","url":"https://pkg.go.dev/vuln/GO-2025-4035","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:00.605Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58075","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58075","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"}],"updatedAt":"2026-11-25T22:59:06.481Z","epss":{"score":0.00344,"percentile":0.2997,"date":"2026-12-01T12:00:22.000Z"}}