Mattermost <=10.4.1/<=9.11.7 unvalidated block duplication allows LFI
CVE-2025-20051 Published on February 24, 2025
Arbitrary file read via block duplication in Mattermost Boards
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.
Vulnerability Analysis
CVE-2025-20051 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2025-20051 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2025-20051
stack.watch emails you whenever new vulnerabilities are published in Mattermost Server or MatterMost. Just hit a watch button to start following.
Affected Versions
Mattermost:- Version 10.4.0, <= 10.4.1 is affected.
- Version 9.11.0, <= 9.11.7 is affected.
- Version 10.3.0, <= 10.3.2 is affected.
- Version 10.2.0, <= 10.2.2 is affected.
- Version 10.5.0 is unaffected.
- Version 10.4.2 is unaffected.
- Version 9.11.8 is unaffected.
- Version 10.3.3 is unaffected.
- Version 10.2.3 is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.