# CVE-2026-7521: SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-28 · Modified: 2026-07-28
- Record: https://cvemate.com/vulnerability/CVE-2026-7521 · JSON: https://cvemate.com/vulnerability/CVE-2026-7521/json

## Description

```text
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
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
- EPSS: 0.283%, percentile 22.343%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mattermost mattermost: 11.8.0 \| ≥ 11.7.0, ≤ 11.7.3 \| ≥ 11.6.0, ≤ 11.6.5 \| ≥ 10.11.0, ≤ 10.11.20
- mattermost mattermost\_server: ≥ 10.11.0, \< 10.11.21 \| ≥ 11.6.0, \< 11.6.6 \| ≥ 11.7.0, \< 11.7.4 \| ≥ 11.8.0, \< 11.8.1

## References

- <https://mattermost.com/security-updates>

---

Data as of 2026-12-05T18:47:16.096Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
