{
  "id": "CVE-2026-6957",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-6957",
  "published_at": "2026-05-27T14:23:50.77Z",
  "title": "Path traversal in Mattermost Legal Hold plugin via unsanitized file name from federated peer allows arbitrary file write.",
  "vendor": "Mattermost",
  "product": "Mattermost",
  "cvss": {
    "score": 8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Mattermost Plugins versions \u003c=1.1.5 fail to sanitize filenames received from federated peers before using them to construct export destination paths, which allows an administrator of a remote federated Mattermost server to write files to arbitrary locations within the target server's filestore via a malicious filename delivered through the shared-channel attachment sync protocol. Mattermost Advisory ID: MMSA-2026-00659",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:mattermost:legal_hold:*:*:*:*:*:mattermost:*:*"
  ],
  "cvss_by_source": {
    "cna": 8,
    "nvd": 4.9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Mattermost",
        "product": "Mattermost",
        "ranges": [
          "\u003c= 1.1.5"
        ],
        "fixed_in": [
          ".0"
        ]
      }
    ],
    "solutions": [
      "Update Mattermost Plugins to versions .0 or higher."
    ],
    "upgrade": [
      "Upgrade Mattermost to .0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://mattermost.com/security-updates"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
