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.
{
"cwe_ids": [
"CWE-1426"
],
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "10.4.0"
},
{
"last_affected": "10.4.2"
},
{
"introduced": "10.5.0"
},
{
"last_affected": "10.5.0"
},
{
"introduced": "9.11.0"
},
{
"last_affected": "9.11.9"
}
],
"source": "AFFECTED_FIELD"
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31363.json",
"cna_assigner": "Mattermost"
}{
"extracted_events": [
{
"introduced": "9.11.0"
},
{
"fixed": "9.11.10"
},
{
"introduced": "10.4.0"
},
{
"fixed": "10.4.3"
},
{
"introduced": "10.5.0-NA"
},
{
"last_affected": "10.5.0-NA"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"cpe": [
"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"cpe:2.3:a:mattermost:mattermost_server:10.5.0:-:*:*:*:*:*:*"
]
}