CVE-2025-20621

Medium

Description

Mattermost versions 10.2.x <= 10.2.0, 9.11.x <= 9.11.5, 10.0.x <= 10.0.3, 10.1.x <= 10.1.3 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the webapp to crash via creating and sending such a post to a channel.

SeverityMedium
CVSS6.5
Exploit probability—
ProductMattermost Server
PublishedJan 16, 2025
First seenJan 16, 2025
Weakness typeCWE-1287CWE-1287

How to fix

Update
  • mattermost mattermost_server9.11.6, 10.0.4, 10.1.4 or later
  • github.com/mattermost/mattermost/server/v810.2.1, 10.1.4, 10.0.4, 9.11.6, 8.0.0-20241127161322-25ff7a3779a5 or later
  • github.com/mattermost/mattermost-server9.11.6+incompatible, 10.0.4+incompatible, 10.1.4+incompatible, 10.2.1+incompatible or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server9.11.0 ≤ v < 9.11.6, 10.0.0 ≤ v < 10.0.4, 10.1.0 ≤ v < 10.1.4, 10.2.09.11.6, 10.0.4, 10.1.4
github.com/mattermost/mattermost/server/v8Go10.2.0 ≤ v < 10.2.1, 10.1.0 ≤ v < 10.1.4, 10.0.0 ≤ v < 10.0.4, 9.11.0 ≤ v < 9.11.6, v < 8.0.0-20241127161322-25ff7a3779a510.2.1, 10.1.4, 10.0.4, 9.11.6, 8.0.0-20241127161322-25ff7a3779a5
github.com/mattermost/mattermost-serverGo9.11.0+incompatible ≤ v < 9.11.6+incompatible, 10.0.0+incompatible ≤ v < 10.0.4+incompatible, 10.1.0+incompatible ≤ v < 10.1.4+incompatible, 10.2.0+incompatible ≤ v < 10.2.1+incompatible9.11.6+incompatible, 10.0.4+incompatible, 10.1.4+incompatible, 10.2.1+incompatible
github.com/mattermost/mattermost-server/v5GoNo range specified—
github.com/mattermost/mattermost-server/v6GoNo 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.

CVE-2025-20621 · Mattermost Server · Dark Radar