CVE-2025-47870

Medium

Description

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fail to sanitize the team invite ID in the POST /api/v4/teams/:teamId/restore endpoint which allows an team admin with no member invite privileges to get the team’s invite id.

SeverityMedium
CVSS4.3
Exploit probability—
ProductMattermost Server
PublishedAug 21, 2025
First seenAug 21, 2025

How to fix

Update
  • mattermost mattermost_server9.11.18, 10.5.9, 10.8.4, 10.9.3 or later
  • github.com/mattermost/mattermost-server10.8.4, 10.5.9, 9.11.18, 10.9.3, 9.11.18+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.3+incompatible or later
  • github.com/mattermost/mattermost/server/v88.0.0-20250708065844-b38e2eccda18 or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server9.11.0 ≤ v < 9.11.18, 10.5.0 ≤ v < 10.5.9, 10.8.0 ≤ v < 10.8.4, 10.9.0 ≤ v < 10.9.39.11.18, 10.5.9, 10.8.4, 10.9.3
github.com/mattermost/mattermost-serverGo10.8.0 ≤ v < 10.8.4, 10.5.0 ≤ v < 10.5.9, 9.11.0 ≤ v < 9.11.18, 10.9.0 ≤ v < 10.9.3, 9.11.0+incompatible ≤ v < 9.11.18+incompatible, 10.5.0+incompatible ≤ v < 10.5.9+incompatible, 10.8.0+incompatible ≤ v < 10.8.4+incompatible, 10.9.0+incompatible ≤ v < 10.9.3+incompatible10.8.4, 10.5.9, 9.11.18, 10.9.3, 9.11.18+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.3+incompatible
github.com/mattermost/mattermost/server/v8Gov < 8.0.0-20250708065844-b38e2eccda188.0.0-20250708065844-b38e2eccda18
github.com/mattermost/mattermost-server/v5Gov ≤ 5.39.3, No range specified—
github.com/mattermost/mattermost-server/v6Gov ≤ 6.7.2, No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.