VDB
Sign up
LOW3.0

GHSA-9h6j-4ffx-cm84

Mattermost doesn't restrict domains LLM can request to contact upstream

Quick fix

GHSA-9h6j-4ffx-cm84 — github.com/mattermost/mattermost/server/v8: upgrade to the fixed version with the command below.

go get github.com/mattermost/mattermost/server/v8@v10.5.1

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/mattermost/mattermost/server/v8
Introduced in: 10.5.0Fixed in: 10.5.1
Fixgo get github.com/mattermost/mattermost/server/v8@v10.5.1
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 10.4.0Fixed in: 10.4.3
Fixgo get github.com/mattermost/mattermost/server/v8@v10.4.3
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 9.11.0Fixed in: 9.11.10
Fixgo get github.com/mattermost/mattermost/server/v8@v9.11.10
Go/github.com/mattermost/mattermost/server/v8
Introduced in: 0Fixed in: 8.0.0-20250218121836-2b5275d87136
Fixgo get github.com/mattermost/mattermost/server/v8@v8.0.0-20250218121836-2b5275d87136

References