Skip to content
Heist/ feed
Back to feed
Medium

GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration

Type: advisorySources: OSV

Mattermost versions 11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17 fail to enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler, which allows any authenticated user to overwrite the global default GitLab instance configuration via the {{/gitlab connect }} slash command.. Mattermost Advisory ID: MMSA-2026-00644

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-5139
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:23 UTC · Revision 1

Source evidence

GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration

core-osv · Original source

Published 22 Jun 2026, 13:34 UTC

Mattermost versions 11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17 fail to enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler, which allows any authenticated user to overwrite the global default GitLab instance configuration via the {{/gitlab connect }} slash command.. Mattermost Advisory ID: MMSA-2026-00644

osv:CVE-2026-5139
Complete source record
{
  "id": "dc480345686f22ad9d73a4c20607dc3de9084580b1ef3a3b1e6d89bbbd4f28c3",
  "url": "https://osv.dev/vulnerability/CVE-2026-5139",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "GitLab Plugin Allows Non-Admin Users to Modify Default Instance Configuration",
    "summary": "Mattermost versions 11.7.x <= 11.7.0, 11.6.x <= 11.6.2, 11.5.x <= 11.5.5, 10.11.x <= 10.11.17 fail to enforce administrator authorization on the {{setDefaultInstance}} call within the {{/gitlab connect}} command handler, which allows any authenticated user to overwrite the global default GitLab instance configuration via the {{/gitlab connect }} slash command.. Mattermost Advisory ID: MMSA-2026-00644",
    "evidence": "osv:CVE-2026-5139",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-5139",
      "aliases": [
        "CVE-2026-5139",
        "GHSA-2g8v-grq3-hq2g",
        "GO-2026-6480"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mattermost/mattermost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5b955468ea1ea8b56c0fb10feb258a36a767d7bb"
                },
                {
                  "fixed": "79ba3d3d83ef1562d08ffd2d29d3d9cc2636a41c"
                },
                {
                  "introduced": "9f2616376582893035a7e3cb38b0fab648bba4e8"
                },
                {
                  "fixed": "16c42cd8677fcc91383da3b0cc85b8c9c0c231c3"
                },
                {
                  "introduced": "d4f4e78835e86e2e76f76bfe797623076f5c9835"
                },
                {
                  "fixed": "429426801b599699c8bef584447e5f4c6f09f035"
                },
                {
                  "introduced": "a9e574a82633915f22071f0d7ca2b006f249ec2a"
                },
                {
                  "fixed": "de117ab1cc09f4114aa7cb716fe760946ae7696c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.11.0"
                      },
                      {
                        "fixed": "10.11.18"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.5.0"
                      },
                      {
                        "fixed": "11.5.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.6.0"
                      },
                      {
                        "fixed": "11.6.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.7.0"
                      },
                      {
                        "fixed": "11.7.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v11.6.2",
            "v11.5.5",
            "v10.11.17",
            "v10.11.16",
            "v11.7.0",
            "mattermost-redux@11.7.0",
            "@mattermost/types@11.7.0",
            "@mattermost/shared@11.7.0",
            "@mattermost/client@11.7.0",
            "v10.11.15-rc1",
            "v10.11.15",
            "v11.5.4",
            "v11.6.1-rc1",
            "v11.6.1",
            "v11.5.3",
            "v10.11.14",
            "v11.5.2-rc3",
            "v11.5.2",
            "v11.6.0",
            "v10.11.14-rc1",
            "v11.5.0",
            "v11.5.2-rc2",
            "v11.5.2-rc1",
            "v10.11.13",
            "v11.5.1",
            "v10.11.13-rc1",
            "v10.11.12",
            "v10.11.11-rc2",
            "v10.11.11",
            "v10.11.11-rc1",
            "v10.11.10",
            "v10.11.9",
            "v10.11.9-rc1",
            "v10.11.8",
            "v10.11.7",
            "v10.11.6",
            "v10.11.5",
            "v10.11.4-rc3",
            "v10.11.4",
            "v10.11.4-rc2",
            "v10.11.4-rc1",
            "v10.11.3",
            "v10.11.2-rc2",
            "v10.11.2",
            "v10.11.2-rc1",
            "v10.11.1",
            "v10.11.1-rc1",
            "v10.11.0-rc3",
            "v10.11.0",
            "mattermost-redux@10.11.0",
            "@mattermost/types@10.11.0",
            "@mattermost/client@10.11.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5139.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.361677164Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5139.json",
        "https://mattermost.com/security-updates",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-5139"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-862"
        ],
        "cna_assigner": "Mattermost",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.7.0"
                  },
                  {
                    "last_affected": "11.7.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.6.0"
                  },
                  {
                    "last_affected": "11.6.2"
                  },
                  {
                    "introduced": "11.5.0"
                  },
                  {
                    "last_affected": "11.5.5"
                  },
                  {
                    "introduced": "10.11.0"
                  },
                  {
                    "last_affected": "10.11.17"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5139.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-5139",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496346,
  "published_at": "2026-06-22T13:34:21.247+00:00"
}