{"id":"CVE-2024-4195","aliases":["GHSA-5fh7-7mw7-mmx5","GO-2024-2793"],"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 a team admin to promote guests to team admins v...","published_at":"2024-04-26T00:00:00Z","modified_at":"2026-03-03T04:55:17.626009Z","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.4372499883174896,"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 a team admin to promote guests to team admins 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-4195","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-5fh7-7mw7-mmx5","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-5fh7-7mw7-mmx5","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"}]}],"fixed":["8.1.12+incompatible","9.5.3+incompatible"],"provider":"osv","source":"GO-2024-2793","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"}]}],"fixed":["8.1.12","9.5.3"],"provider":"nvd","source":"CVE-2024-4195","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-4195"},{"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-4195"},{"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-4195"}],"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-4195","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-4195","license":"CC-BY-4.0","published_at":"2024-04-26T08:26:00.685Z","modified_at":"2024-08-01T20:33:52.915Z","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 a team admin to promote guests to team admins v...","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 a team admin to promote guests to team admins 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-4195"}],"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-4195","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://mattermost.com/security-updates"}]},{"provider":"nvd","source_id":"CVE-2024-4195","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4195","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"}]}],"fixed":["8.1.12","9.5.3"],"provider":"nvd","source":"CVE-2024-4195","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-5fh7-7mw7-mmx5","relation":"self","url":"https://osv.dev/vulnerability/GHSA-5fh7-7mw7-mmx5","license":"CC-BY-4.0","published_at":"2024-04-26T09:30:35Z","modified_at":"2024-06-05T16:43:09.434336Z","summary":"Mattermost allows team admins to promote guests to team admins","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 a team admin to promote guests to team admins 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-5fh7-7mw7-mmx5"}],"affected":[{"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-5fh7-7mw7-mmx5","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-5fh7-7mw7-mmx5","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4195"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/1e3497e0595bb4f9908c94dd9d4685d48556b7e8"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/f0872dd4e4ba34f061aa6982a71c7c29532aac2e"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"WEB","url":"https://mattermost.com/security-updates"}]},{"provider":"osv","source_id":"GO-2024-2793","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-2793","license":"CC-BY-4.0","published_at":"2024-06-05T15:10:52Z","modified_at":"2026-03-03T04:55:17.626009Z","summary":"Mattermost allows team admins to promote guests to team admins in github.com/mattermost/mattermost-server","details":"Mattermost allows team admins to promote guests to team admins 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"}]}],"fixed":["8.1.12+incompatible","9.5.3+incompatible"],"provider":"osv","source":"GO-2024-2793","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5fh7-7mw7-mmx5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4195"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/1e3497e0595bb4f9908c94dd9d4685d48556b7e8"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/f0872dd4e4ba34f061aa6982a71c7c29532aac2e"},{"type":"WEB","url":"https://mattermost.com/security-updates"}]},{"provider":"redhat-vex","source_id":"CVE-2024-4195","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-4195","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 leading to promote guests to team admins","details":"A flaw was found in Mattermost, where it failed to fully validate role changes. This flaw allows an attacker authenticated as a team admin to promote guests to team admins 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-4195"},{"type":"Red Hat","score":"Low","source":"CVE-2024-4195"}],"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-4195"},{"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-4195"},{"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-4195"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-4195.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-4195"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2277339"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-4195"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4195"},{"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-4195"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/1e3497e0595bb4f9908c94dd9d4685d48556b7e8"},{"type":"WEB","url":"https://github.com/mattermost/mattermost/commit/f0872dd4e4ba34f061aa6982a71c7c29532aac2e"},{"type":"PACKAGE","url":"https://github.com/mattermost/mattermost"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5fh7-7mw7-mmx5"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-4195.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-4195"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2277339"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-4195"}],"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-4195","url":"https://www.cve.org/CVERecord?id=CVE-2024-4195","license":"CC-BY-4.0","modified_at":"2024-08-01T20:33:52.915Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-4195","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4195","relation":"self"},{"provider":"osv","source_id":"GHSA-5fh7-7mw7-mmx5","url":"https://osv.dev/vulnerability/GHSA-5fh7-7mw7-mmx5","license":"CC-BY-4.0","modified_at":"2024-06-05T16:43:09.434336Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-2793","url":"https://osv.dev/vulnerability/GO-2024-2793","license":"CC-BY-4.0","modified_at":"2026-03-03T04:55:17.626009Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-4195","url":"https://access.redhat.com/security/cve/CVE-2024-4195","license":"CC-BY-4.0","modified_at":"2025-05-12T13:50:09Z","relation":"self"}]}
