GHSA-r7r2-m3vr-c8qc

Suggest an improvement
Source
https://github.com/advisories/GHSA-r7r2-m3vr-c8qc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-r7r2-m3vr-c8qc/GHSA-r7r2-m3vr-c8qc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-r7r2-m3vr-c8qc
Aliases
Published
2025-05-15T12:30:27Z
Modified
2025-05-23T17:59:47.782315Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Mattermost Fails to Validate Team Invite Permissions
Details

Mattermost versions 10.6.x <= 10.6.1, 10.5.x <= 10.5.2, 10.4.x <= 10.4.4, 9.11.x <= 9.11.11 fail to check the correct permissions which allows authenticated users who only have permission to invite non-guest users to a team to add guest users to that team via the API to add a single user to a team.

Database specific
{
    "nvd_published_at": "2025-05-15T11:15:48Z",
    "cwe_ids": [
        "CWE-863"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-05-17T14:02:03Z"
}
References

Affected packages

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
10.6.0
Fixed
10.6.2

Database specific

{
    "last_known_affected_version_range": "<= 10.6.1"
}

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
10.5.0
Fixed
10.5.3

Database specific

{
    "last_known_affected_version_range": "<= 10.5.2"
}

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
10.4.0
Fixed
10.4.5

Database specific

{
    "last_known_affected_version_range": "<= 10.4.4"
}

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
9.11.0
Fixed
9.11.12

Database specific

{
    "last_known_affected_version_range": "<= 9.11.11"
}

Go / github.com/mattermost/mattermost/server/v8

Package

Name
github.com/mattermost/mattermost/server/v8
View open source insights on deps.dev
Purl
pkg:golang/github.com/mattermost/mattermost/server/v8

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.0-20250415054241-76ab3867b785