CVE-2026-7521

SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory

State
Published
Severity
5.5 Medium
Published
Jul 28, 2026
Updated
Jul 28, 2026
Reserved
Apr 30, 2026

Read the record on cve.org

Description

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

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:HMattermost

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
MattermostMattermost
  • 11.8.0 through 11.8.0Affected
  • 11.7.0 through 11.7.3Affected
  • 11.6.0 through 11.6.5Affected
  • 10.11.0 through 10.11.20Affected
  • 11.9.0Not affected
  • 11.8.1Not affected
  • 11.7.4Not affected
  • 11.6.6Not affected
  • 10.11.21Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.