CVE-2025-31363Mattermost Server
Medium 6.5
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mattermost Server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
≥ 9.11.0+incompatible < 9.11.10+incompatible |
9.11.10+incompatible |
go get github.com/mattermost/mattermost-server@v9.11.10+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.4.0+incompatible < 10.4.3+incompatible |
10.4.3+incompatible |
go get github.com/mattermost/mattermost-server@v10.4.3+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 10.5.0+incompatible < 10.5.1+incompatible |
10.5.1+incompatible |
go get github.com/mattermost/mattermost-server@v10.5.1+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.5.0 < 10.5.1 |
10.5.1 |
go get github.com/mattermost/mattermost/server/v8@v10.5.1 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 10.4.0 < 10.4.3 |
10.4.3 |
go get github.com/mattermost/mattermost/server/v8@v10.4.3 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.11.0 < 9.11.10 |
9.11.10 |
go get github.com/mattermost/mattermost/server/v8@v9.11.10 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250218121836-2b5275d87136 |
8.0.0-20250218121836-2b5275d87136 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250218121836-2b5275d87136 |
| Go | github.com/mattermost/mattermost/server/v8 |
< 8.0.0-20250218121836-2b5275d87136 |
8.0.0-20250218121836-2b5275d87136 |
go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250218121836-2b5275d87136 |
Per OSV / GitHub Advisories (GO-2025-3622, GHSA-9h6j-4ffx-cm84). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 9.11.0 < 9.11.10 |
| mattermost | mattermost_server | ≥ 10.4.0 < 10.4.3 |
| mattermost | mattermost_server | 10.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory