{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "10.11.0"
              },
              {
                "fixed": "10.11.21"
              },
              {
                "introduced": "11.6.0"
              },
              {
                "fixed": "11.6.6"
              },
              {
                "introduced": "11.7.0"
              },
              {
                "fixed": "11.7.4"
              },
              {
                "introduced": "11.8.0"
              },
              {
                "fixed": "11.8.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "5b955468ea1ea8b56c0fb10feb258a36a767d7bb"
            },
            {
              "fixed": "638007314e9dde1575d3caa167e1067b1c577204"
            },
            {
              "introduced": "d4f4e78835e86e2e76f76bfe797623076f5c9835"
            },
            {
              "fixed": "aa548ce407dac894c70983decc17fb263b1aa683"
            },
            {
              "introduced": "a9e574a82633915f22071f0d7ca2b006f249ec2a"
            },
            {
              "fixed": "e14401f2944912c0efc21f960ae64e23b04dfe80"
            },
            {
              "introduced": "e8bd2b8a871cbeff6943bead62328478118188df"
            },
            {
              "fixed": "358e15f91c4acbd39a2457913398681a65c95b18"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mattermost",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7521.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "11.8.0"
          },
          {
            "last_affected": "11.8.0"
          },
          {
            "introduced": "11.7.0"
          },
          {
            "last_affected": "11.7.3"
          },
          {
            "introduced": "11.6.0"
          },
          {
            "last_affected": "11.6.5"
          },
          {
            "introduced": "10.11.0"
          },
          {
            "last_affected": "10.11.20"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Mattermost versions 11.8.x \u003c= 11.8.0, 11.7.x \u003c= 11.7.3, 11.6.x \u003c= 11.6.5, 10.11.x \u003c= 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",
  "id": "CVE-2026-7521",
  "modified": "2026-08-12T03:51:29.843804397Z",
  "published": "2026-07-28T13:58:31.551Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7521.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://mattermost.com/security-updates"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7521"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SAML certificate deletion allows path traversal to delete arbitrary files outside the config directory"
}