PT-2025-26301

CVE-2025-4981

·

Published

2025-05-12

·

Updated

2026-05-25

Description by

CVSS 3.1
9.9
Critical
MetricsAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Mattermost versions 10.5.x through 10.5.5 Mattermost versions 9.11.x through 9.11.15 Mattermost versions 10.8.x through 10.8.0 Mattermost versions 10.7.x through 10.7.2 Mattermost versions 10.6.x through 10.6.5
Description Mattermost fails to sanitize filenames in the archive extractor, allowing authenticated users to write files to arbitrary locations on the filesystem via uploading archives with path traversal sequences in filenames, potentially leading to remote code execution (RCE). This issue impacts instances where file uploads and document search by content are enabled (FileSettings.EnableFileAttachments = true and FileSettings.ExtractContent = true), which are enabled by default. Approximately 97,000+ and 113,000+ potentially affected instances have been identified.
Recommendations Mattermost versions 10.5.x through 10.5.5: Update to a newer, fixed version. Mattermost versions 9.11.x through 9.11.15: Update to a newer, fixed version. Mattermost versions 10.8.x through 10.8.0: Update to a newer, fixed version. Mattermost versions 10.7.x through 10.7.2: Update to a newer, fixed version. Mattermost versions 10.6.x through 10.6.5: Update to a newer, fixed version.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-QH58-9V3J-WCJC
GO-2025-3769
OPENSUSE-SU-2025:15405-1
Found an issue in the description? Have something to add? Feel free to write us 👾