Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2025-4981Path Traversal Leading to RCE by Any Authenticated Mattermost User

Description

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.

Timeline

  1. ID reserved

    By Mattermost

  2. · 31 days later

    Published

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2025-4981, by who scored it
Scored byCVSSScoreVector
MattermostCNA (assigner)3.1Critical9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVDNVD · Analyzed3.1Critical9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS (exploitation in 30 days)
1.1% · top 35% of all CVEs (16 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.9.

Affected products

  • Mattermost · Mattermost

    • affected 10.5.0 – ≤ 10.5.5
    • affected 9.11.0 – ≤ 9.11.15
    • affected 10.8.0 – ≤ 10.8.0
    • affected 10.7.0 – ≤ 10.7.2
    • affected 10.6.0 – ≤ 10.6.5
    • unaffected 10.9.0
    • unaffected 10.5.6
    • unaffected 9.11.16
    • unaffected 10.8.1
    • unaffected 10.7.3
    • unaffected 10.6.6

Affected packages

From reviewed advisories of the GitHub Advisory Database.

What to do

Solution: Update Mattermost to versions 10.9.0, 10.5.6, 9.11.16, 10.8.1, 10.7.3, 10.6.6 or higher.

References

References1

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2025-4981 badge
[![CVE-2025-4981](https://cveledger.app/badge/CVE-2025-4981.svg)](https://cveledger.app/cve/CVE-2025-4981)

Record last updated .