GitHub Advisoryadvisory · Go

GHSA-wvw2-3jh4-4c39 Mattermost Path Traversal vulnerability

MEDIUM Published 2025-07-18 Modified 2025-07-21 Official page ↗
Aliases
CVE-2025-6233
Ecosystem
Go
Packages
github.com/mattermost/mattermost-server, github.com/mattermost/mattermost/server/v8
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2025-07-21

Affected packages

• Go github.com/mattermost/mattermost-server: >= 10.8.0, < 10.8.2 → fixed in 10.8.2 • Go github.com/mattermost/mattermost-server: >= 10.7.0, < 10.7.4 → fixed in 10.7.4 • Go github.com/mattermost/mattermost-server: >= 10.5.0, < 10.5.8 → fixed in 10.5.8 • Go github.com/mattermost/mattermost-server: >= 9.11.0, < 9.11.17 → fixed in 9.11.17 • Go github.com/mattermost/mattermost/server/v8: < 8.0.0-20250529054450-d38c27f96fcf → fixed in 8.0.0-20250529054450-d38c27f96fcf

Description

Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file attachments in the bulk import JSONL file, which allows a system admin to read arbitrary system files via path traversal.

Related

Alias · CVE (1)

  • CVE-2025-6233 Mattermost versions 10.8.x <= 10.8.1, 10.7.x <= 10.7.3, 10.5.x <= 10.5.7, 9.11.x <= 9.11.16 fail to sanitize input paths of file… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References