CVE-2025-31363: Mattermost doesn't restrict domains LLM can request to contact upstream
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.
Published Apr 16, 2025 · Updated Apr 23, 2025
Affected packages
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 10.5.0, < 10.5.1
- Fixed in
- 10.5.1
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 10.4.0, < 10.4.3
- Fixed in
- 10.4.3
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- >= 9.11.0, < 9.11.10
- Fixed in
- 9.11.10
- Check
go list -m github.com/mattermost/mattermost/server/v8
github.com/mattermost/mattermost/server/v8
- Ecosystem
- Go
- Affected
- < 8.0.0-20250218121836-2b5275d87136
- Fixed in
- 8.0.0-20250218121836-2b5275d87136
- Check
go list -m github.com/mattermost/mattermost/server/v8
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-8823
Mattermost has an Incorrect Authorization issue
low3.8Jun 22, 2026CVE-2026-3433
Mattermost doesn't restrict role_updated websocket event broadcasts to members of the affected team or channel
medium4.3Jun 12, 2026CVE-2026-6046
Mattermost doesn't validate that a username returned during bot registration belongs to a bot account
medium5.3Jun 12, 2026CVE-2026-6689
Mattermost doesn't enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation
medium4.3Jun 12, 2026CVE-2026-6739
Mattermost doesn't require system-level permission when patching protected default system roles
medium6.7Jun 12, 2026CVE-2026-6961
Mattermost doesn't sanitize FileInfo.Name received from federated peers during shared channel file sync
high7.6Jun 12, 2026
