Skip to content

Mattermost fails to check the "invite_guest" permission

Moderate severity GitHub Reviewed Published Feb 29, 2024 to the GitHub Advisory Database • Updated Feb 29, 2024

Package

gomod github.com/mattermost/mattermost/server/v8 (Go)

Affected versions

>= 9.4.0, < 9.4.2
>= 9.3.0, < 9.3.1
>= 9.2.0, < 9.2.5
< 8.1.9

Patched versions

9.4.2
9.3.1
9.2.5
8.1.9

Description

Mattermost fails to check the "invite_guest" permission when inviting guests of other teams to a team, allowing a member with permissions to add other members but not to add guests to add a guest to a team as long as the guest was already a guest in another team of the server

References

Published by the National Vulnerability Database Feb 29, 2024
Published to the GitHub Advisory Database Feb 29, 2024
Reviewed Feb 29, 2024
Last updated Feb 29, 2024

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Weaknesses

CVE ID

CVE-2024-1888

GHSA ID

GHSA-pfw6-5rx3-xh3c

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.