{"id":"CVE-2026-28735","published":"2026-05-22T16:26:04Z","modified":"2026-05-22T16:56:09Z","title":"GitHub OAuth Scope Validation","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"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","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00138,"percentile":0.03248,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"]}],"priority":{"score":4.4,"factors":[{"name":"EPSS percentile","points":0.65},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.6.0, <= 11.6.0",">= 11.5.0, <= 11.5.3",">= 11.4.0, <= 11.4.4",">= 10.11.0, <= 10.11.14"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.7.0","11.6.1","11.5.4","11.4.5","10.11.15"]}],"solutions":{"items":["Update Mattermost to versions 11.7.0, 11.6.1, 11.5.4, 11.4.5, 10.11.15 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-22T16:55:25.541191Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=11.6.0, <11.6.1",">=11.5.0, <11.5.4",">=11.4.0, <11.4.5",">=10.11.0, <10.11.15",">=10.11.0+incompatible, <10.11.15+incompatible",">=11.4.0+incompatible, <11.4.5+incompatible",">=11.5.0+incompatible, <11.5.4+incompatible",">=11.6.0+incompatible, <11.6.1+incompatible"],"patched":["11.6.1","11.5.4","11.4.5","10.11.15","10.11.15+incompatible","11.4.5+incompatible","11.5.4+incompatible","11.6.1+incompatible"],"from":["GHSA-r5vf-grcx-5vqp","GO-2026-5839"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-plugin-github","vulnerableRanges":["<1.0.1-0.20260318132218-6e6b740c4852"],"patched":["1.0.1-0.20260318132218-6e6b740c4852"],"from":["GHSA-r5vf-grcx-5vqp","GO-2026-5839"],"provenance":"source"}],"summary":{"text":"The GitHub OAuth integration in Mattermost (versions 11.6.0 and earlier in the 11.6.x line, 11.5.3 and earlier in 11.5.x, 11.4.4 and earlier in 11.4.x, and 10.11.14 and earlier in 10.11.x) fails to validate the OAuth token scope on the callback. An authenticated Mattermost user with network access can modify the scope parameter in the GitHub authorization URL to gain access to private repositories, without user interaction or elevated privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:20Z"},"euvd":{"id":"EUVD-2026-31465","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2025-13352","parents":[{"from":"CVE-2025-13352","to":"CVE-2026-28735","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-plugin-github","fromFixed":"1.0.1-0.20250829075715-0deffcfc6bee","toFixed":"1.0.1-0.20260318132218-6e6b740c4852","daysApart":156},{"kind":"same-code","provenance":"machine","files":["server/plugin/plugin.go"],"commits":["https://github.com/mattermost/mattermost-plugin-github/commit/0deffcfc6bee7eaf01f7c99100e3d12e8d9df68c","https://github.com/mattermost/mattermost-plugin-github/commit/6e6b740c4852cdfa136ee0ced160da832285c353"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-28735","to":"CVE-2026-4646","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-plugin-github","fromFixed":"1.0.1-0.20260318132218-6e6b740c4852","toFixed":"1.0.1-0.20260330164815-c2840e980b3c","daysApart":0},{"kind":"same-code","provenance":"machine","files":["server/plugin/api.go"],"commits":["https://github.com/mattermost/mattermost-plugin-github/commit/6e6b740c4852cdfa136ee0ced160da832285c353","https://github.com/mattermost/mattermost-plugin-github/commit/c2840e980b3c2bd08db656eaa6a0fe26bcbf4695"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-13352","published":"2025-12-17","fixed":"1.0.1-0.20250829075715-0deffcfc6bee","kev":false},{"cve":"CVE-2026-28735","published":"2026-05-22","fixed":"1.0.1-0.20260318132218-6e6b740c4852","kev":false},{"cve":"CVE-2026-4646","published":"2026-05-22","fixed":"1.0.1-0.20260330164815-c2840e980b3c","kev":false},{"cve":"CVE-2026-5308","published":"2026-05-22","fixed":"1.0.1-0.20260410143745-9b41b1fd43c4","kev":false}],"package":"Go:github.com/mattermost/mattermost-plugin-github"}}