Medium
SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory
Type: advisorySources: OSV
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-7521
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:31 UTC · Revision 1
Source evidence
SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory
core-osv · Original sourcePublished 28 Jul 2026, 13:58 UTC
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
osv:CVE-2026-7521
Complete source record
{
"id": "679b7d085a56e279614a94abd5a7ad7bdaa78b39ee66056248d61d7249e089b0",
"url": "https://osv.dev/vulnerability/CVE-2026-7521",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory",
"summary": "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",
"evidence": "osv:CVE-2026-7521",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-7521",
"aliases": [
"CVE-2026-7521"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mattermost/mattermost",
"type": "GIT",
"events": [
{
"introduced": "5b955468ea1ea8b56c0fb10feb258a36a767d7bb"
},
{
"fixed": "638007314e9dde1575d3caa167e1067b1c577204"
},
{
"introduced": "d4f4e78835e86e2e76f76bfe797623076f5c9835"
},
{
"fixed": "aa548ce407dac894c70983decc17fb263b1aa683"
},
{
"introduced": "a9e574a82633915f22071f0d7ca2b006f249ec2a"
},
{
"fixed": "e14401f2944912c0efc21f960ae64e23b04dfe80"
},
{
"introduced": "e8bd2b8a871cbeff6943bead62328478118188df"
},
{
"fixed": "358e15f91c4acbd39a2457913398681a65c95b18"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.11.0"
},
{
"fixed": "10.11.21"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11.6.0"
},
{
"fixed": "11.6.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11.7.0"
},
{
"fixed": "11.7.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11.8.0"
},
{
"fixed": "11.8.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v11.6.5",
"v11.7.3",
"v10.11.20",
"v11.8.0-rc5",
"v11.8.0",
"mattermost-redux@11.8.0",
"@mattermost/types@11.8.0",
"@mattermost/shared@11.8.0",
"@mattermost/client@11.8.0",
"v10.11.19",
"v11.6.4",
"v10.11.19-rc1",
"v11.7.2",
"v11.6.3",
"v10.11.18",
"v11.7.1",
"v11.6.2",
"v10.11.17",
"v10.11.16",
"v11.7.0",
"mattermost-redux@11.7.0",
"@mattermost/types@11.7.0",
"@mattermost/shared@11.7.0",
"@mattermost/client@11.7.0",
"v10.11.15-rc1",
"v10.11.15",
"v11.6.1-rc1",
"v11.6.1",
"v10.11.14",
"v11.6.0",
"v10.11.14-rc1",
"v10.11.13",
"v10.11.13-rc1",
"v10.11.12",
"v10.11.11-rc2",
"v10.11.11",
"v10.11.11-rc1",
"v10.11.10",
"v10.11.9",
"v10.11.9-rc1",
"v10.11.8",
"v10.11.7",
"v10.11.6",
"v10.11.5",
"v10.11.4-rc3",
"v10.11.4",
"v10.11.4-rc2",
"v10.11.4-rc1",
"v10.11.3",
"v10.11.2-rc2",
"v10.11.2",
"v10.11.2-rc1",
"v10.11.1",
"v10.11.1-rc1",
"v10.11.0-rc3",
"v10.11.0",
"mattermost-redux@10.11.0",
"@mattermost/types@10.11.0",
"@mattermost/client@10.11.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7521.json"
}
}
],
"modified": "2026-10-28T02:30:21.367201764Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7521.json",
"https://mattermost.com/security-updates",
"https://nvd.nist.gov/vuln/detail/CVE-2026-7521"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "11.8.0"
},
{
"last_affected": "11.8.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "11.7.0"
},
{
"last_affected": "11.7.3"
},
{
"introduced": "11.6.0"
},
{
"last_affected": "11.6.5"
},
{
"introduced": "10.11.0"
},
{
"last_affected": "10.11.20"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7521.json"
}
},
"related_cves": [
{
"value": "CVE-2026-7521",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487740,
"published_at": "2026-07-28T13:58:31.551+00:00"
}