{"id":"CVE-2024-4198","aliases":["GHSA-5qx9-9ffj-5r8f","GO-2024-2794"],"summary":"Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted...","published_at":"2024-04-26T00:00:00Z","modified_at":"2026-03-03T04:55:16.856917Z","products":[],"rating":{"severity":"low","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Low","vendor_ratings":[{"source":"Red Hat","rating":"Low"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0050200000405311584,"percentile":0.4372600018978119,"date":"2026-11-19T00:00:00Z"},"priority":3.7,"details":"Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted HTTP requests.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Mattermost/Mattermost","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.5.0"},{"last_affected":"9.5.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"8.1.0"},{"last_affected":"8.1.11"}]}],"versions":["9.6.0"],"provider":"cvelistv5","source":"CVE-2024-4198","relation":"self"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"9.6.0-rc1"},{"fixed":"9.6.1"}]}],"fixed":["9.6.1"],"provider":"osv","source":"GHSA-5qx9-9ffj-5r8f","relation":"self"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0"},{"fixed":"9.5.3"}]}],"fixed":["9.5.3"],"provider":"osv","source":"GHSA-5qx9-9ffj-5r8f","relation":"self"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"8.1.0"},{"fixed":"8.1.12"}]}],"fixed":["8.1.12"],"provider":"osv","source":"GHSA-5qx9-9ffj-5r8f","relation":"self"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"8.1.0+incompatible"},{"fixed":"8.1.12+incompatible"},{"introduced":"9.5.0+incompatible"},{"fixed":"9.5.3+incompatible"},{"introduced":"9.6.0-rc1+incompatible"},{"fixed":"9.6.1+incompatible"}]}],"fixed":["8.1.12+incompatible","9.5.3+incompatible","9.6.1+incompatible"],"provider":"osv","source":"GO-2024-2794","relation":"self"},{"ecosystem":"NVD","package":"mattermost:mattermost_server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1.0"},{"fixed":"8.1.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"9.5.0"},{"fixed":"9.5.3"}]}],"versions":["9.6.0"],"fixed":["8.1.12","9.5.3"],"provider":"nvd","source":"CVE-2024-4198","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/acm-grafana-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-4198"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8","advanced-cluster-security/rhacs-scanner-db-rhel8","advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":6,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-4198"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-4198"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-0718","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0718","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-03-26T23:00:00Z","modified_at":"2024-04-28T22:00:00Z","summary":"Mattermost: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff","details":"Ein  Angreifer kann mehrere Schwachstellen in Mattermost ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.\n\nMattermost ist ein webbasierter Instant-Messaging-Dienst.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2024-0718"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0718.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0718"},{"type":"WEB","url":"https://mattermost.com/security-updates/"}]},{"provider":"cvelistv5","source_id":"CVE-2024-4198","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-4198","license":"CC-BY-4.0","published_at":"2024-04-26T08:26:11.493Z","modified_at":"2024-08-01T20:33:52.786Z","summary":"Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted...","details":"Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted HTTP requests.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","source":"CVE-2024-4198"}],"affected":[{"ecosystem":"CVE","package":"Mattermost/Mattermost","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9.5.0"},{"last_affected":"9.5.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"8.1.0"},{"last_affected":"8.1.11"}]}],"versions":["9.6.0"],"provider":"cvelistv5","source":"CVE-2024-4198","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"}]},{"provider":"nvd","source_id":"CVE-2024-4198","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4198","severity":[],"affected":[{"ecosystem":"NVD","package":"mattermost:mattermost_server","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.1.0"},{"fixed":"8.1.12"}]},{"type":"ECOSYSTEM","events":[{"introduced":"9.5.0"},{"fixed":"9.5.3"}]}],"versions":["9.6.0"],"fixed":["8.1.12","9.5.3"],"provider":"nvd","source":"CVE-2024-4198","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-5qx9-9ffj-5r8f","relation":"self","url":"https://osv.dev/vulnerability/GHSA-5qx9-9ffj-5r8f","license":"CC-BY-4.0","published_at":"2024-04-26T09:30:34Z","modified_at":"2024-06-05T16:43:09.574277Z","summary":"Mattermost fails to fully validate role changes","details":"Mattermost versions 9.6.0, 9.5.x before 9.5.3, and 8.1.x before 8.1.12 fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest via crafted HTTP requests.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","source":"GHSA-5qx9-9ffj-5r8f"}],"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"9.6.0-rc1"},{"fixed":"9.6.1"}]}],"fixed":["9.6.1"],"provider":"osv","source":"GHSA-5qx9-9ffj-5r8f","relation":"self"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"9.5.0"},{"fixed":"9.5.3"}]}],"fixed":["9.5.3"],"provider":"osv","source":"GHSA-5qx9-9ffj-5r8f","relation":"self"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"8.1.0"},{"fixed":"8.1.12"}]}],"fixed":["8.1.12"],"provider":"osv","source":"GHSA-5qx9-9ffj-5r8f","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4198"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/fba5b8e348feada9b21290369c3598ccd5c04424"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"WEB","url":"https://mattermost.com/security-updates"}]},{"provider":"osv","source_id":"GO-2024-2794","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-2794","license":"CC-BY-4.0","published_at":"2024-06-05T15:10:52Z","modified_at":"2026-03-03T04:55:16.856917Z","summary":"Mattermost fails to fully validate role changes in github.com/mattermost/mattermost-server","details":"Mattermost fails to fully validate role changes in github.com/mattermost/mattermost-server","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[{"type":"SEMVER","events":[{"introduced":"8.1.0+incompatible"},{"fixed":"8.1.12+incompatible"},{"introduced":"9.5.0+incompatible"},{"fixed":"9.5.3+incompatible"},{"introduced":"9.6.0-rc1+incompatible"},{"fixed":"9.6.1+incompatible"}]}],"fixed":["8.1.12+incompatible","9.5.3+incompatible","9.6.1+incompatible"],"provider":"osv","source":"GO-2024-2794","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5qx9-9ffj-5r8f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4198"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/fba5b8e348feada9b21290369c3598ccd5c04424"},{"type":"WEB","url":"https://mattermost.com/security-updates"}]},{"provider":"redhat-vex","source_id":"CVE-2024-4198","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-4198","license":"CC-BY-4.0","published_at":"2024-04-26T00:00:00Z","modified_at":"2025-05-12T13:50:09Z","summary":"mattermost: fail to fully validate role changes which allows an attacker authenticated as team admin to demote users to guest","details":"A flaw was found in Mattermost, where it failed to fully validate role changes. This flaw allows an attacker authenticated as team admin to demote users to guests via crafted HTTP requests.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","source":"CVE-2024-4198"},{"type":"Red Hat","score":"Low","source":"CVE-2024-4198"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/acm-grafana-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-4198"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","cpe":"cpe:/a:redhat:advanced_cluster_security:3","status":"affected","packages":["advanced-cluster-security/rhacs-docs-rhel8","advanced-cluster-security/rhacs-main-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-roxctl-rhel8","advanced-cluster-security/rhacs-scanner-db-rhel8","advanced-cluster-security/rhacs-scanner-rhel8"],"package_count":6,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-4198"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-grafana"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2024-4198"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-4198.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-4198"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2277334"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-4198"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4198"},{"type":"WEB","url":"https://mattermost.com/security-updates"}]}],"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4198"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/3d6d8a7c1f7105558fe266a1b379859a4dba4e9b"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/408ce4a82bb55ce27801f7044d9b3b49e82c47ed"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/fba5b8e348feada9b21290369c3598ccd5c04424"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5qx9-9ffj-5r8f"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-4198.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-4198"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2277334"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-4198"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-0718","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-0718","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-04-28T22:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2024-4198","url":"https://www.cve.org/CVERecord?id=CVE-2024-4198","license":"CC-BY-4.0","modified_at":"2024-08-01T20:33:52.786Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-4198","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4198","relation":"self"},{"provider":"osv","source_id":"GHSA-5qx9-9ffj-5r8f","url":"https://osv.dev/vulnerability/GHSA-5qx9-9ffj-5r8f","license":"CC-BY-4.0","modified_at":"2024-06-05T16:43:09.574277Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-2794","url":"https://osv.dev/vulnerability/GO-2024-2794","license":"CC-BY-4.0","modified_at":"2026-03-03T04:55:16.856917Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-4198","url":"https://access.redhat.com/security/cve/CVE-2024-4198","license":"CC-BY-4.0","modified_at":"2025-05-12T13:50:09Z","relation":"self"}]}
