Skip to content

x/vulndb: potential Go vuln in github.com/mattermost/mattermost/server/v8: GHSA-x67c-v8jr-p29r #3907

@GoVulnBot

Description

@GoVulnBot

Advisory GHSA-x67c-v8jr-p29r 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 fails to sanitize path traversal sequences in template file destination paths, which allows a system admin to perform path traversal attacks via malicious path components, potentially enabling malicious file placement outside intended directories.

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 Fails to Sanitize Path Traversal Sequences in github.com/mattermost/mattermost-server
cves:
    - CVE-2025-8023
ghsas:
    - GHSA-x67c-v8jr-p29r
references:
    - advisory: https://github.com/advisories/GHSA-x67c-v8jr-p29r
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-8023
    - 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-x67c-v8jr-p29r
    created: 2025-08-21T17:04:03.704081704Z
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