GitHub Advisory Database
GHSA-9h6j-4ffx-cm84
Mattermost doesn't restrict domains LLM can request to contact upstream
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost/server/v8 | From 10.5.0 before 10.5.1 (fixed in 10.5.1) |
| Go | github.com/mattermost/mattermost/server/v8 | From 10.4.0 before 10.4.3 (fixed in 10.4.3) |
| Go | github.com/mattermost/mattermost/server/v8 | From 9.11.0 before 9.11.10 (fixed in 9.11.10) |
| Go | github.com/mattermost/mattermost/server/v8 | All versions before 8.0.0-20250218121836-2b5275d87136 (fixed in 8.0.0-20250218121836-2b5275d87136) |