{"id":"CVE-2025-12559","aliases":["CVE-2025-12559","GHSA-4g87-9x45-cx2h","GO-2025-4169"],"related":[],"kind":"vulnerability","state":"published","title":"Information Disclosure in Common Teams API","summary":"Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to sanitize team email addresses to be visible only to Team Admins, which allows any authenticated user to view team email addresses via the GET /api/v4/channels/{channel_id}/common_teams endpoint","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to sanitize team email addresses to be visible only to Team Admins, which allows any authenticated user to view team email addresses via the GET /api/v4/channels/{channel_id}/common_teams endpoint","source":"cvelist"},{"lang":"en","text":"Mattermost fails to sanitize team email addresses 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 from v10.5.0 before v10.5.13, from v10.11.0 before v10.11.5, from v10.12.0 before v10.12.2, from v11.0.0 before v11.0.3.","format":"markdown","source":"go"},{"lang":"es","text":"Las versiones de Mattermost 11.0.x menor o igual que 11.0.2, 10.12.x menor o igual que 10.12.1, 10.11.x menor o igual que 10.11.4, 10.5.x menor o igual que 10.5.12 no sanean las direcciones de correo electrónico del equipo para que sean visibles solo para los administradores del equipo, lo que permite a cualquier usuario autenticado ver las direcciones de correo electrónico del equipo a través del endpoint GET /API/v4/channels/{channel_id}/common_teams.","source":"nvd"}],"published":"2025-11-27T16:36:30.545Z","modified":"2026-10-19T13:10:00.110Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"type":"semver","introduced":"11.0.0","lastAffected":"11.0.2","status":"affected"},{"type":"semver","introduced":"10.12.0","lastAffected":"10.12.1","status":"affected"},{"type":"semver","introduced":"10.11.0","lastAffected":"10.11.4","status":"affected"},{"type":"semver","introduced":"10.5.0","lastAffected":"10.5.12","status":"affected"},{"version":"11.1.0","status":"unaffected"},{"version":"11.0.3","status":"unaffected"},{"version":"10.12.2","status":"unaffected"},{"version":"10.11.5","status":"unaffected"},{"version":"10.5.13","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.0.0-20251015091448-abbf01b9db45"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.0.3"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.12.0","status":"affected","fixed":"10.12.2"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.11.0","status":"affected","fixed":"10.11.5"}],"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.13"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"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","fixed":"8.0.0-20251015091448-abbf01b9db45"}],"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.13"},{"status":"affected","introduced":"10.11.0","fixed":"10.11.5"},{"status":"affected","introduced":"10.12.0","fixed":"10.12.2"},{"status":"affected","introduced":"11.0.0","fixed":"11.0.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-12559","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/pull/34110","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/5d8719042c1807da59ac8a821624eb01152d8495","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/649aee8fa9184ca59bd66022a33b8f8918e413aa","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/7ccb62db7958abd6a4b21a06c5a4f5367a8f8b1f","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/9f54e5cdc3aef412945ff0e6a58338f7b549bdda","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost/commit/abbf01b9db45d1850eaf3701ea8362b910193ffd","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4g87-9x45-cx2h","tags":["advisory"],"sources":["go"]}],"credits":["hainguyen0207"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-28T15:20:22.362Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12559","url":"https://www.cve.org/CVERecord?id=CVE-2025-12559","licence":"CVE Terms of Use","modified":"2025-11-28T15:20:44.142Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4g87-9x45-cx2h","url":"https://github.com/advisories/GHSA-4g87-9x45-cx2h","licence":"CC-BY-4.0","modified":"2025-12-15T21:11:17.085Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4169","url":"https://pkg.go.dev/vuln/GO-2025-4169","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:43.053Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12559","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12559","licence":"Public domain","modified":"2026-10-19T13:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:08.073Z","epss":{"score":0.00241,"percentile":0.16273,"date":"2026-12-01T12:00:22.000Z"}}