CVE-2025-31363

Low

Description

Mattermost versions 10.4.x <= 10.4.2, 10.5.x <= 10.5.0, 9.11.x <= 9.11.9 fail to restrict domains the LLM can request to contact upstream which allows an authenticated user to exfiltrate data from an arbitrary server accessible to the victim via performing a prompt injection in the AI plugin's Jira tool.

SeverityLow
CVSS3.0
Exploit probability—
ProductMattermost Server
PublishedApr 16, 2025
First seenApr 16, 2025
Weakness typeCWE-1426CWE-1426

How to fix

Update
  • mattermost mattermost_server9.11.10, 10.4.3 or later
  • github.com/mattermost/mattermost/server/v810.5.1, 10.4.3, 9.11.10, 8.0.0-20250218121836-2b5275d87136 or later
  • github.com/mattermost/mattermost-server9.11.10+incompatible, 10.4.3+incompatible, 10.5.1+incompatible or later

Affected products

ProductAffected versionsFixed in
mattermost mattermost_server9.11.0 ≤ v < 9.11.10, 10.4.0 ≤ v < 10.4.3, 10.5.09.11.10, 10.4.3
github.com/mattermost/mattermost/server/v8Go10.5.0 ≤ v < 10.5.1, 10.4.0 ≤ v < 10.4.3, 9.11.0 ≤ v < 9.11.10, v < 8.0.0-20250218121836-2b5275d8713610.5.1, 10.4.3, 9.11.10, 8.0.0-20250218121836-2b5275d87136
github.com/mattermost/mattermost-serverGo9.11.0+incompatible ≤ v < 9.11.10+incompatible, 10.4.0+incompatible ≤ v < 10.4.3+incompatible, 10.5.0+incompatible ≤ v < 10.5.1+incompatible9.11.10+incompatible, 10.4.3+incompatible, 10.5.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.