{"id":"CVE-2026-28735","aliases":["CVE-2026-28735","GHSA-r5vf-grcx-5vqp","GO-2026-5839"],"related":[],"kind":"vulnerability","state":"published","title":"GitHub OAuth Scope Validation","summary":"Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate the OAuth token scope on the callback which allows an authenticated Mattermost user to gain access to private repositories via modifying the scope parameter in the GitHub authorization URL.. Mattermost Advisory ID: MMSA-2026-00628","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate the OAuth token scope on the callback which allows an authenticated Mattermost user to gain access to private repositories via modifying the scope parameter in the GitHub authorization URL.. Mattermost Advisory ID: MMSA-2026-00628","source":"cvelist"},{"lang":"en","text":"Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to validate the OAuth token scope on the callback which allows an authenticated Mattermost user to gain access to private repositories via modifying the scope parameter in the GitHub authorization URL. Mattermost Advisory ID: MMSA-2026-00628","format":"markdown","source":"ghsa"},{"lang":"en","text":"Mattermost allows authenticated users to gain access to private repositories in github.com/mattermost/mattermost-plugin-github","format":"markdown","source":"go"},{"lang":"es","text":"Versiones de Mattermost 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 no validan el alcance del token OAuth en la devolución de llamada, lo que permite a un usuario autenticado de Mattermost obtener acceso a repositorios privados mediante la modificación del parámetro de alcance en la URL de autorización de GitHub. ID de aviso de Mattermost: MMSA-2026-00628","source":"nvd"}],"published":"2026-05-22T16:26:04.066Z","modified":"2026-07-23T16:10:00.137Z","severity":{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"Mattermost","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"11.6.0","lastAffected":"11.6.0","status":"affected"},{"type":"semver","introduced":"11.5.0","lastAffected":"11.5.3","status":"affected"},{"type":"semver","introduced":"11.4.0","lastAffected":"11.4.4","status":"affected"},{"type":"semver","introduced":"10.11.0","lastAffected":"10.11.14","status":"affected"},{"version":"11.7.0","status":"unaffected"},{"version":"11.6.1","status":"unaffected"},{"version":"11.5.4","status":"unaffected"},{"version":"11.4.5","status":"unaffected"},{"version":"10.11.15","status":"unaffected"}],"vendor":"Mattermost","product":"Mattermost","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"11.6.0","status":"affected","fixed":"11.6.1"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.5.0","status":"affected","fixed":"11.5.4"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"11.4.0","status":"affected","fixed":"11.4.5"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"10.11.0","status":"affected","fixed":"10.11.15"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.1-0.20260318132218-6e6b740c4852"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-plugin-github","purl":"pkg:golang/github.com/mattermost/mattermost-plugin-github","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.1-0.20260318132218-6e6b740c4852"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-plugin-github","purl":"pkg:golang/github.com/mattermost/mattermost-plugin-github","source":"go"},{"ranges":[{"type":"semver","introduced":"10.11.0+incompatible","status":"affected","fixed":"10.11.15+incompatible"},{"type":"semver","introduced":"11.4.0+incompatible","status":"affected","fixed":"11.4.5+incompatible"},{"type":"semver","introduced":"11.5.0+incompatible","status":"affected","fixed":"11.5.4+incompatible"},{"type":"semver","introduced":"11.6.0+incompatible","status":"affected","fixed":"11.6.1+incompatible"}],"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","source":"go"},{"ranges":[{"status":"affected","introduced":"10.11.0","fixed":"10.11.15"},{"status":"affected","introduced":"11.4.0","fixed":"11.4.5"},{"status":"affected","introduced":"11.5.0","fixed":"11.5.4"},{"status":"affected","introduced":"11.6.0","fixed":"11.6.1"}],"vendor":"mattermost","product":"mattermost_server","cpe":"cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28735","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost-plugin-github/commit/6e6b740c4852cdfa136ee0ced160da832285c353","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-r5vf-grcx-5vqp","tags":["advisory"],"sources":["go"]}],"credits":["eahmed"],"assigner":"Mattermost","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-22T16:55:25.541Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28735","url":"https://www.cve.org/CVERecord?id=CVE-2026-28735","licence":"CVE Terms of Use","modified":"2026-05-22T16:56:09.671Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r5vf-grcx-5vqp","url":"https://github.com/advisories/GHSA-r5vf-grcx-5vqp","licence":"CC-BY-4.0","modified":"2026-07-07T16:11:04.161Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5839","url":"https://pkg.go.dev/vuln/GO-2026-5839","licence":"CC-BY-4.0","modified":"2026-07-07T16:01:34.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28735","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28735","licence":"Public domain","modified":"2026-07-23T16:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:22.195Z","epss":{"score":0.00138,"percentile":0.03388,"date":"2026-12-01T12:00:22.000Z"}}