Mattermost versions 11.8.x <= 11.8.0, 11.7.x <= 11.7.3, 11.6.x <= 11.6.5, 10.11.x <= 10.11.20 fail to verify file deletion path which allows an admin with SAML system-console write permissions to delete arbitrary files outside the config directory from the server via the remove file endpoint.. Mattermost Advisory ID: MMSA-2026-00666
PUBLISHED5.2CWE-22
SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory
Problem type
Affected products
Mattermost
Mattermost
<= 11.8.0 - AFFECTED
<= 11.7.3 - AFFECTED
<= 11.6.5 - AFFECTED
<= 10.11.20 - AFFECTED
11.9.0 - UNAFFECTED
11.8.1 - UNAFFECTED
11.7.4 - UNAFFECTED
11.6.6 - UNAFFECTED
10.11.21 - UNAFFECTED
References
GitHub Security Advisories
GHSA-rxgw-2f9c-c2hh
Mattermost versions 11.8.x <= 11.8.0, 11.7.x <= 11.7.3, 11.6.x <= 11.6.5, 10.11.x <= 10.11.20...
https://github.com/advisories/GHSA-rxgw-2f9c-c2hhMattermost versions 11.8.x <= 11.8.0, 11.7.x <= 11.7.3, 11.6.x <= 11.6.5, 10.11.x <= 10.11.20 fail to verify file deletion path which allows an admin with SAML system-console write permissions to delete arbitrary files outside the config directory from the server via the remove file endpoint.. Mattermost Advisory ID: MMSA-2026-00666
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-7521Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-7521",
"assignerOrgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
"assignerShortName": "Mattermost",
"dateUpdated": "2026-07-28T13:58:31.551Z",
"dateReserved": "2026-04-30T16:51:23.295Z",
"datePublished": "2026-07-28T13:58:31.551Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "9302f53e-dde5-4bf3-b2f2-a83f91ac0eee",
"shortName": "Mattermost",
"dateUpdated": "2026-07-28T13:58:31.551Z"
},
"title": "SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory",
"descriptions": [
{
"lang": "en",
"value": "Mattermost versions 11.8.x <= 11.8.0, 11.7.x <= 11.7.3, 11.6.x <= 11.6.5, 10.11.x <= 10.11.20 fail to verify file deletion path which allows an admin with SAML system-console write permissions to delete arbitrary files outside the config directory from the server via the remove file endpoint.. Mattermost Advisory ID: MMSA-2026-00666"
}
],
"affected": [
{
"vendor": "Mattermost",
"product": "Mattermost",
"defaultStatus": "unaffected",
"versions": [
{
"version": "11.8.0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "11.8.0"
},
{
"version": "11.7.0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "11.7.3"
},
{
"version": "11.6.0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "11.6.5"
},
{
"version": "10.11.0",
"status": "affected",
"versionType": "semver",
"lessThanOrEqual": "10.11.20"
},
{
"version": "11.9.0",
"status": "unaffected"
},
{
"version": "11.8.1",
"status": "unaffected"
},
{
"version": "11.7.4",
"status": "unaffected"
},
{
"version": "11.6.6",
"status": "unaffected"
},
{
"version": "10.11.21",
"status": "unaffected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"cweId": "CWE-22",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://mattermost.com/security-updates",
"name": "MMSA-2026-00666",
"tags": [
"vendor-advisory"
]
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
],
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "HIGH",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM"
}
}
],
"solutions": [
{
"lang": "en",
"value": "Update Mattermost to versions 11.9.0, 11.8.1, 11.7.4, 11.6.6, 10.11.21 or higher."
}
],
"credits": [
{
"lang": "en",
"value": "winfunc",
"type": "finder"
}
]
}
}
}