{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "10.11.0"
              },
              {
                "fixed": "10.11.17"
              },
              {
                "introduced": "11.5.0"
              },
              {
                "fixed": "11.5.5"
              },
              {
                "introduced": "11.6.0"
              },
              {
                "fixed": "11.6.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "5b955468ea1ea8b56c0fb10feb258a36a767d7bb"
            },
            {
              "fixed": "202d125afa87fe39611686850fd82590c99ca344"
            },
            {
              "introduced": "9f2616376582893035a7e3cb38b0fab648bba4e8"
            },
            {
              "fixed": "d5f29c8ebbeb04460d16d9e2635ce50deeb78428"
            },
            {
              "introduced": "d4f4e78835e86e2e76f76bfe797623076f5c9835"
            },
            {
              "fixed": "1ce2484a00c9821ee19708d2c46720e4855033a9"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mattermost",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6689.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "11.6.0"
          },
          {
            "last_affected": "11.6.1"
          },
          {
            "introduced": "11.5.0"
          },
          {
            "last_affected": "11.5.4"
          },
          {
            "introduced": "10.11.0"
          },
          {
            "last_affected": "10.11.15"
          },
          {
            "introduced": "10.11.0"
          },
          {
            "last_affected": "10.11.16"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Mattermost versions 11.6.x \u003c= 11.6.1, 11.5.x \u003c= 11.5.4, 10.11.x \u003c= 10.11.15, 10.11.x \u003c= 10.11.16 Fail to enforce PermissionInviteUser when setting AllowOpenInvite or AllowedDomains during team creation (the check was only applied on update/patch), which allows an authenticated user holding PermissionCreateTeam but not PermissionInviteUser on the resulting team to configure invite-controlled team settings (make the team publicly joinable via open invite and/or constrain membership via allowed domains) that they are not permitted to set on an existing team via POST /api/v4/teams with allow_open_invite: true and/or a non-empty allowed_domains in the request body.. Mattermost Advisory ID: MMSA-2026-00655",
  "id": "CVE-2026-6689",
  "modified": "2026-07-15T01:49:16.874207411Z",
  "published": "2026-06-12T15:51:30.871Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6689.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://mattermost.com/security-updates"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6689"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "*Missing* {{invite_user}} *permission check on team creation allows unprivileged users to set open-invite and allowed-domains team settings*"
}