CVE-2025-20051CWE-22

Arbitrary file read via block duplication in Mattermost Boards

Critical · published February 24, 2025

CVSS v3.1
9.9
EPSS
1%
Percentile
48.6
In the wild
Unconfirmed
What it is

🚨 A sneaky oversight means that duplicating a board in Mattermost could expose ANY file on the system! 🔥 Think of it like a restaurant where a customer can not only order their meal but also read the chef's private recipes from the kitchen simply by asking for a 'special dish' without any checks. It’s a recipe for disaster! An attacker could exploit this vulnerability to access any arbitrary file on the server—imagine sensitive documents, configuration files, or even user data being uncovered at will. This could lead to significant data breaches and potentially catastrophic consequences for your organization.

Put simply

Think of it like a restaurant where a customer can not only order their meal but also read the chef's private recipes from the kitchen simply by asking for a 'special dish' without any checks. It’s a recipe for disaster! This vulnerability in Mattermost arises from improper input validation when patching and duplicating boards, allowing crafted blocks to bypass security measures and read files indiscriminately.

What to do

An attacker could exploit this vulnerability to access any arbitrary file on the server—imagine sensitive documents, configuration files, or even user data being uncovered at will. This could lead to significant data breaches and potentially catastrophic consequences for your organization. To mitigate this issue, immediately upgrade to Mattermost versions 10.4.2, 9.11.8, 10.3.3, or 10.2.3. Additionally, conduct a security audit to ensure no sensitive data has been exposed and enforce strict access controls to your file system. You've got this! Follow these steps and you'll ensure your Mattermost is fortified against this vulnerability. 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00611 · 48.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-02-24T07:27Z
EPSS history
Timeline
  • 24 FEB 07:27Z
    Arbitrary file read via block duplication in Mattermost Boards
    cvelistv5