CVE-2026-6961

CVE-2026-6961: Path traversal via unsanitized FileInfo.Name in Mattermost federation sync

State
Published
Severity
7.6 High
Published
Jun 12, 2026
Updated
Jun 16, 2026
Reserved
Apr 24, 2026

Read the record on cve.org

Description

Mattermost versions 11.6.x <= 11.6.1, 11.5.x <= 11.5.4, 10.11.x <= 10.11.15, 10.11.x <= 10.11.16 Mattermost fails to sanitize FileInfo.Name received from federated peers during shared channel file sync, which allows an attacker who controls a federated server to write files to arbitrary locations within the target server's filestore via path traversal sequences in the filename field.. Mattermost Advisory ID: MMSA-2026-00661

Scores

CVSSScoreVectorSource
3.17.6 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:LMattermost

Weaknesses

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

Affected Products

ProductVersions
MattermostMattermost
  • 11.6.0 through 11.6.1Affected
  • 11.5.0 through 11.5.4Affected
  • 10.11.0 through 10.11.15Affected
  • 10.11.0 through 10.11.16Affected
  • 11.7.0Not affected
  • 11.6.2Not affected
  • 11.5.5Not affected
  • 10.11.16Not affected
  • 10.11.17Not 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.