GitHub Advisoryadvisory · Go

GHSA-v469-7wp6-7cvp Mattermost allows reading arbitrary files

CRITICAL Published 2025-02-24 Modified 2025-02-24 Official page ↗
Aliases
CVE-2025-20051
Ecosystem
Go
Packages
github.com/mattermost/mattermost/server/v8
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-22
Reviewed
2025-02-24

Affected packages

• Go github.com/mattermost/mattermost/server/v8: < 8.0.0-20250122165010-4ed702ccff4e → fixed in 8.0.0-20250122165010-4ed702ccff4e • Go github.com/mattermost/mattermost/server/v8: >= 9.11.0-rc1, < 9.11.8 → fixed in 9.11.8 • Go github.com/mattermost/mattermost/server/v8: >= 10.2.0-rc1, < 10.2.3 → fixed in 10.2.3 • Go github.com/mattermost/mattermost/server/v8: >= 10.3.0-rc1, < 10.3.3 → fixed in 10.3.3 • Go github.com/mattermost/mattermost/server/v8: >= 10.4.0-rc1, < 10.4.2 → fixed in 10.4.2

Description

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate input when patching and duplicating a board, which allows a user to read any arbitrary file on the system via duplicating a specially crafted block in Boards.

Related

Alias · CVE (1)

  • CVE-2025-20051 Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate input when patching… vulnerability

Weakness · CWE (1)

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

References