Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file attachments in the bulk import JSONL file, which allows a system admin to read arbitrary system files via path traversal.
{
"versions": [
{
"introduced": "9.11.0"
},
{
"fixed": "9.11.17"
},
{
"introduced": "10.5.0"
},
{
"fixed": "10.5.8"
},
{
"introduced": "10.7.0"
},
{
"fixed": "10.7.4"
},
{
"introduced": "10.8.0"
},
{
"fixed": "10.8.2"
}
]
}