SCA: security update for github.com/mattermost/mattermost-server, github.com/mattermost/mattermost/server/v8 (GHSA-qh58-9v3j-wcjc)

critical Tenable Cloud Security Plugin ID 437202

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-4981)

See Also

https://github.com/advisories/GHSA-qh58-9v3j-wcjc

Plugin Details

Severity: Critical

ID: 437202

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/28/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2025-4981

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/20/2025

Vulnerability Publication Date: 6/5/2025

Reference Information

CVE: CVE-2025-4981

cwe: CWE-427