CVEfocus › CVE database › CVE-2026-7521

CVE-2026-7521SAML certificate deletion allows path traversal to delete arbitrary files outside the…

CVSS 5.5 MediumEPSS 0.4% (higher than 30% of CVEs)Published 2026-07-28Updated 2026-07-28Assigner: Mattermost

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

CWE-22

What to do

None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

What the vendor says

As published in the CVE record by Mattermost, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Update Mattermost to versions 11.9.0, 11.8.1, 11.7.4, 11.6.6, 10.11.21 or higher.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.