Skip to content

x/vulndb: potential Go vuln in github.com/mattermost/mattermost/server/v8: GHSA-qj47-w9f2-qg44 #3905

@GoVulnBot

Description

@GoVulnBot

Advisory GHSA-qj47-w9f2-qg44 references a vulnerability in the following Go modules:

Module
github.com/mattermost/mattermost-server
github.com/mattermost/mattermost-server/v5
github.com/mattermost/mattermost-server/v6
github.com/mattermost/mattermost/server/v8

Description:
Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fail to sanitize the team invite ID in the POST /api/v4/teams/:teamId/restore endpoint which allows an team admin with no member invite privileges to get the team’s invite id.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/mattermost/mattermost-server
      non_go_versions:
        - introduced: TODO (earliest fixed "10.9.3", vuln range ">= 10.9.0, <= 10.9.2")
        - introduced: TODO (earliest fixed "9.11.18", vuln range ">= 9.11.0, <= 9.11.17")
        - introduced: TODO (earliest fixed "10.5.9", vuln range ">= 10.5.0, <= 10.5.8")
        - introduced: TODO (earliest fixed "10.8.4", vuln range ">= 10.8.0, <= 10.8.3")
      vulnerable_at: 10.11.1+incompatible
    - module: github.com/mattermost/mattermost-server/v5
      vulnerable_at: 5.39.3
    - module: github.com/mattermost/mattermost-server/v6
      vulnerable_at: 6.7.2
    - module: github.com/mattermost/mattermost/server/v8
      versions:
        - fixed: 8.0.0-20250708065844-b38e2eccda18
summary: Mattermost Does Not Sanitize the Team Invite ID in github.com/mattermost/mattermost-server
cves:
    - CVE-2025-47870
ghsas:
    - GHSA-qj47-w9f2-qg44
references:
    - advisory: https://github.com/advisories/GHSA-qj47-w9f2-qg44
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-47870
    - web: https://mattermost.com/security-updates
notes:
    - fix: 'module merge error: could not merge versions of module github.com/mattermost/mattermost-server: invalid or non-canonical semver version (found TODO (earliest fixed "10.9.3", vuln range ">= 10.9.0, <= 10.9.2"))'
    - fix: 'github.com/mattermost/mattermost/server/v8: could not add vulnerable_at: could not find tagged version between introduced and fixed'
source:
    id: GHSA-qj47-w9f2-qg44
    created: 2025-08-21T17:03:42.059972225Z
review_status: UNREVIEWED

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions