Advisory

GHSA-9h6j-4ffx-cm84

Also known as: CVE-2025-31363, GO-2025-3622

Summary

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-04-16 12:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.5.0, fixed 10.5.1 (semver)

Fixed versions

10.5.1

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 10.4.0, fixed 10.4.3 (semver)

Fixed versions

10.4.3

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 9.11.0, fixed 9.11.10 (semver)

Fixed versions

9.11.10

Fix

github.com/mattermost/mattermost/server/v8

Go · All systems

Affected

  • introduced 0, fixed 8.0.0-20250218121836-2b5275d87136 (semver)

Fixed versions

8.0.0-20250218121836-2b5275d87136

Fix

  • Fixed version 8.0.0-20250218121836-2b5275d87136
    go get github.com/mattermost/mattermost/server/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences