CVE-2025-20051 json
Arbitrary file read via block duplication in Mattermost Boards
published 2025-02-24 20 mo ago modified 2026-09-10 1 mo ago also GHSA-v469-7wp6-7cvp , GO-2025-3483 , EUVD-2025-4306
- cvss
- 9.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/mattermost/mattermost/server/v8 8.0.0-20250122165010-4ed702ccff4e, 9.11.8, 10.2.3, 10.3.3, 10.4.2
- go github.com/mattermost/mattermost-server 9.11.8+incompatible, 10.2.3+incompatible, 10.3.3+incompatible, 10.4.2+incompatible
- Mattermost Mattermost 9.11.8, 10.2.3, 10.3.3, 10.4.2, 10.5.0
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250312T181707-1.1
opensuse advisories openSUSE-SU-2025:14889-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 20 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/mattermost/mattermost/server/v8 | <8.0.0-20250122165010-4ed702ccff4e >=9.11.0-rc1, <9.11.8 >=10.2.0-rc1, <10.2.3 >=10.3.0-rc1, <10.3.3 >=10.4.0-rc1, <10.4.2 |
8.0.0-20250122165010-4ed702ccff4e 9.11.8 10.2.3 10.3.3 10.4.2 |
| go | github.com/mattermost/mattermost-server | >=9.11.0-rc1+incompatible, <9.11.8+incompatible >=10.2.0-rc1+incompatible, <10.2.3+incompatible >=10.3.0-rc1+incompatible, <10.3.3+incompatible >=10.4.0-rc1+incompatible, <10.4.2+incompatible |
9.11.8+incompatible 10.2.3+incompatible 10.3.3+incompatible 10.4.2+incompatible |
| go | github.com/mattermost/mattermost-server/v5 | all versions |
no fix listed |
| go | github.com/mattermost/mattermost-server/v6 | all versions |
no fix listed |
Affected products
- Mattermost Mattermost
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/mattermost/mattermost-plugin-boards/commit/025ce8d363a054473bc002f43f602a4032d38c06
web
-
github.com
/mattermost/mattermost/commit/4ed702ccff4ec3c9eff832a9b6060f9f4454141d
web
-
mattermost.com
/security-updates
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-20051
advisory
-
github.com
/mattermost/mattermost
package
-
github.com
/advisories/GHSA-v469-7wp6-7cvp
advisory
Sources
- CVE List CVE-2025-20051
- GitHub Advisory GHSA-v469-7wp6-7cvp
- NVD CVE-2025-20051
- OSV GO-2025-3483
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.