← Back to CVE List
CVE-2025-4981NVD
Vulnerability Summary
Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to sanitize filenames in the archive extractor which allows 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. The vulnerability impacts instances where file uploads and document search by content is enabled (FileSettings.EnableFileAttachments = true and FileSettings.ExtractContent = true). These configuration settings are enabled by default.
CVSS v3.1 Base Metrics — Score 9.9 (CRITICAL)
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Mattermost Mattermost Server >= 9.11.0 and < 9.11.16
- Mattermost Mattermost Server >= 10.5.0 and < 10.5.6
- Mattermost Mattermost Server >= 10.6.0 and < 10.6.6
- Mattermost Mattermost Server >= 10.7.0 and < 10.7.3
- Mattermost Mattermost Server
- Mattermost Mattermost Server 9.11.16
- Mattermost Mattermost Server 10.5.6
- Mattermost Mattermost Server 10.6.6
- Mattermost Mattermost Server 10.7.3