CVE-2025-4981
CVE-2025-4981 · Path Traversal Leading to RCE by Any Authenticated Mattermost User
CVSS 9.9 · Critical · EPSS 1.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- mattermostUpdate to 10.5.6 / 10.6.6 / 10.7.3 …
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2025:15405-1 · openSUSE Tumbleweed ·
Affected products and versions
mattermost
- Versions
- ≥ 10.5.0, ≤ 10.5.5: Affected (semver)
- ≥ 9.11.0, ≤ 9.11.15: Affected (semver)
- ≥ 10.8.0, ≤ 10.8.0: Affected (semver)
- ≥ 10.7.0, ≤ 10.7.2: Affected (semver)
- ≥ 10.6.0, ≤ 10.6.5: Affected (semver)
- 10.9.0: Not affected
All versions (11)
- 10.5.6: Not affected
- 9.11.16: Not affected
- 10.8.1: Not affected
- 10.7.3: Not affected
- 10.6.6: Not affected
Update to 10.5.6; Update to 10.6.6; Update to 10.7.3; Update to 10.8.1; Update to 9.11.16