{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "8.1.0"
              },
              {
                "fixed": "8.1.13"
              },
              {
                "introduced": "9.5.0"
              },
              {
                "fixed": "9.5.4"
              },
              {
                "introduced": "9.7.0"
              },
              {
                "fixed": "9.7.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "096c9ea12a2144f832e330e9a0f4d3862ca20b9f"
            },
            {
              "fixed": "139d287d701e653852c04b7252691c5f69884d0a"
            },
            {
              "introduced": "99d819d25d0b16b3faed901b1fe5c41de7655e9c"
            },
            {
              "fixed": "e9726543acdeb2a6299f0afd5a0e8d727bab6dcf"
            },
            {
              "introduced": "7a9257d35b66fc46a7ac682dc6b720857c630ee9"
            },
            {
              "fixed": "6b9c604be70563ad1c1b9c35ddd343a4078a8464"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mattermost",
    "cwe_ids": [
      "CWE-200"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34029.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "9.5.0"
          },
          {
            "last_affected": "9.5.3"
          },
          {
            "introduced": "9.7.0"
          },
          {
            "last_affected": "9.7.1"
          },
          {
            "introduced": "8.1.0"
          },
          {
            "last_affected": "8.1.12"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Mattermost versions 9.5.x \u003c= 9.5.3, 9.7.x \u003c= 9.7.1 and 8.1.x \u003c= 8.1.12 fail to perform a proper authorization check in the /api/v4/groups/\u003cgroup-id\u003e/channels/\u003cchannel-id\u003e/link endpoint which allows a user to learn the members of an AD/LDAP group that is linked to a team by adding the group to a channel, even if the user has no access to the team.",
  "id": "CVE-2024-34029",
  "modified": "2026-08-12T03:51:11.376391589Z",
  "published": "2024-05-26T13:27:27.082Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://mattermost.com/security-updates"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34029.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-34029"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "AD/LDAP Group Members Leak"
}