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

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.

Basic information

Type
reviewed
Severity
low
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2025-04-16 12:31:19 UTC
Updated
2025-04-23 15:19:56 UTC
GitHub reviewed
2025-04-16 15:15:47 UTC
NVD published
2025-04-16

EPSS Score

Score Percentile
0.16% 36.84%

CVSS Scores

Base score Version Severity Vector
3.0 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-201 Insertion of Sensitive Information Into Sent Data
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere

Affected packages (4)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/mattermost/mattermost/server/v8 >= 10.5.0, < 10.5.1 10.5.1
go github.com/mattermost/mattermost/server/v8 >= 10.4.0, < 10.4.3 10.4.3
go github.com/mattermost/mattermost/server/v8 >= 9.11.0, < 9.11.10 9.11.10
go github.com/mattermost/mattermost/server/v8 < 8.0.0-20250218121836-2b5275d87136 8.0.0-20250218121836-2b5275d87136

References

cvelogic Threat Intelligence