Mattermost 10.11-11.8 Path Verify Flaw: Admin SAML Delete Arbitrary Files
CVE-2026-7521 Published on July 28, 2026
SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory
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
Vulnerability Analysis
CVE-2026-7521 can be exploited with network access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity, and a high impact on availability.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2026-7521 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2026-7521
Want to know whenever a new CVE is published for MatterMost? stack.watch will email you.
Affected Versions
Mattermost:- Version 11.8.0, <= 11.8.0 is affected.
- Version 11.7.0, <= 11.7.3 is affected.
- Version 11.6.0, <= 11.6.5 is affected.
- Version 10.11.0, <= 10.11.20 is affected.
- Version 11.9.0 is unaffected.
- Version 11.8.1 is unaffected.
- Version 11.7.4 is unaffected.
- Version 11.6.6 is unaffected.
- Version 10.11.21 is unaffected.