CVE-2024-29221Mattermost Server
Low 3.8
Follow: this CVE · Mattermost · Mattermost Server We alert you by email or Slack (account required).
- Priority
- 23
- CVSS 3.1
- 3.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 33
- Auth required
- Yes
- Published
- Apr 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
What happens
Improper Access Control in Mattermost Server versions 9.5.x before 9.5.2, 9.4.x before 9.4.4, 9.3.x before 9.3.3, 8.1.x before 8.1.11 lacked proper access control in the `/api/v4/users/me/teams` endpoint allowing a team admin to get the invite ID of their team, thus allowing them to invite users, even if the "Add Members" permission was explicitly removed from team admins.
What to do
- Apply the vendor's security update for Mattermost Server.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mattermost/mattermost-server |
≥ 9.3.0+incompatible < 9.3.3+incompatible |
9.3.3+incompatible |
go get github.com/mattermost/mattermost-server@v9.3.3+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 9.4.0+incompatible < 9.4.4+incompatible |
9.4.4+incompatible |
go get github.com/mattermost/mattermost-server@v9.4.4+incompatible |
| Go | github.com/mattermost/mattermost-server |
≥ 9.5.0+incompatible < 9.5.2+incompatible |
9.5.2+incompatible |
go get github.com/mattermost/mattermost-server@v9.5.2+incompatible |
| Go | github.com/mattermost/mattermost-server/v5 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost-server/v6 |
all |
no fixed version | — |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 8.1.0 < 8.1.11 |
8.1.11 |
go get github.com/mattermost/mattermost/server/v8@v8.1.11 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.5.0 < 9.5.2 |
9.5.2 |
go get github.com/mattermost/mattermost/server/v8@v9.5.2 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.4.0 < 9.4.4 |
9.4.4 |
go get github.com/mattermost/mattermost/server/v8@v9.4.4 |
| Go | github.com/mattermost/mattermost/server/v8 |
≥ 9.3.0 < 9.3.3 |
9.3.3 |
go get github.com/mattermost/mattermost/server/v8@v9.3.3 |
| Go | github.com/mattermost/mattermost/server/v8 |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GO-2024-2706, GHSA-w67v-ph4x-f48q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mattermost | mattermost_server | ≥ 8.1.0 < 8.1.11 |
| mattermost | mattermost_server | ≥ 9.3.0 < 9.3.3 |
| mattermost | mattermost_server | ≥ 9.4.0 < 9.4.4 |
| mattermost | mattermost_server | ≥ 9.5.0 < 9.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- mattermost.com Vendor Advisory