CVE-2025-12559
JSON

4.3medium

Information Disclosure in Common Teams API

Severity
4.3medium CVSS:3.1 by Mattermost
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mattermost
Also known as
GHSA-4g87-9x45-cx2hGO-2025-4169

Description

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

Affected

Product or packageVersionsReported by
Mattermost Mattermostfrom 11.0.0 up to 11.0.2, from 10.12.0 up to 10.12.1, from 10.11.0 up to 10.11.4, from 10.5.0 up to 10.5.12
Not affected: 11.1.0, 11.0.3, 10.12.2, 10.11.5, 10.5.13
CVE List
github.com/mattermost/mattermost/server/v8 (Go)before 8.0.0-20251015091448-abbf01b9db45GitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server (Go)from 11.0.0 before 11.0.3, from 10.12.0 before 10.12.2, from 10.11.0 before 10.11.5, from 10.5.0 before 10.5.13, all versionsGitHub Advisory Database, Go Vulnerability Database
github.com/mattermost/mattermost-server/v5 (Go)all versionsGo Vulnerability Database
github.com/mattermost/mattermost-server/v6 (Go)all versionsGo Vulnerability Database
mattermost mattermost_serverfrom 10.5.0 before 10.5.13, from 10.11.0 before 10.11.5, from 10.12.0 before 10.12.2, from 11.0.0 before 11.0.3NVD

All scores

Mattermost4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
GitHub4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-200

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

Go Vulnerability Database

Mattermost fails to sanitize team email addresses in github.com/mattermost/mattermost-server.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The 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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12559 changed 2025-11-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-4g87-9x45-cx2h changed 2025-12-15CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4169 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-12559 changed 2026-10-19Public domain