CVE-2025-31363 — server
LOWCVE-2025-31363 is a low-severity (CVSS 3) vulnerability in github.com/mattermost/mattermost/server/v8. A fix is available for github.com/mattermost/mattermost/server/v8 — see the affected versions and patch details below.
Data exfiltration via AI plugin Jira tool
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/mattermost/mattermost/server/v8🐹github.com/mattermost/mattermost/server/v8🐹github.com/mattermost/mattermost/server/v8🐹github.com/mattermost/mattermost/server/v8Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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 | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/mattermost/mattermost/server/v8 | ≥ 10.5.0&&< 10.5.1 | 10.5.1go 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.3go 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.10go get github.com/mattermost/mattermost/server/v8@v9.11.10 |
| 🐹Go | github.com/mattermost/mattermost/server/v8 | all versions | 8.0.0-20250218121836-2b5275d87136go get github.com/mattermost/mattermost/server/v8@v8.0.0-20250218121836-2b5275d87136 |
Affected Products
mattermost servermattermostDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/mattermost/mattermost/server/v8, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/mattermost/mattermost/server/v8 to 10.5.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-31363 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2025-31363 in your dependencies?
Find it across Go, including transitive dependencies.