Security Digest · Vulnerability record
CVE-2025-4981: Mattermost allows authenticated users to write files to arbitrary locations
Mattermost versions 10.5.x
CVSS 9.9 Critical EPSS 0.8% · p57
Should you act?
Critical, preconditions apply
Severe if exploited, but exploitation needs conditions that may not apply to you. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.8%, percentile 57: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 57% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes
github.com/mattermost/mattermost-server(Go) < 0.0.0-20250519205859-65aec10162f6, fixed in 0.0.0-20250519205859-65aec10162f6;github.com/mattermost/mattermost/server/v8(Go) < 8.0.0-20250519205859-65aec10162f6, fixed in 8.0.0-20250519205859-65aec10162f6;github.com/mattermost/mattermost/server/v8(Go) >= 10.5.0, <= 10.5.5, fixed in 10.5.6;github.com/mattermost/mattermost/server/v8(Go) >= 9.11.0, <= 9.11.15, fixed in 9.11.16. Check your lockfile, including transitive dependencies.
What it is
Mattermost versions 10.5.x
From the GitHub advisory
Mattermost versions 10.5.x
Weakness type: CWE-427.
Product: github.com/mattermost/mattermost-server (Go) · Assigned by: Mattermost · Published: 2025-06-20
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| Go | github.com/mattermost/mattermost-server | < 0.0.0-20250519205859-65aec10162f6 | 0.0.0-20250519205859-65aec10162f6 |
| Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250519205859-65aec10162f6 | 8.0.0-20250519205859-65aec10162f6 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 10.5.0, <= 10.5.5 | 10.5.6 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 9.11.0, <= 9.11.15 | 9.11.16 |
| Go | github.com/mattermost/mattermost/server/v8 | = 10.8.0 | 10.8.1 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 10.7.0, <= 10.7.2 | 10.7.3 |
| Go | github.com/mattermost/mattermost/server/v8 | >= 10.6.0, <= 10.6.5 | 10.6.6 |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| Mattermost | Mattermost | 10.5.0 <= 10.5.5, 9.11.0 <= 9.11.15, 10.8.0 <= 10.8.0, 10.7.0 <= 10.7.2, 10.6.0 <= 10.6.5 |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| Mattermost | 3.1 | 9.9 Critical | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Privileges required: low (any account)
- User interaction: none
- Scope: changed (can affect other components)
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none, automatable no, technical impact total.
- FIRST EPSS (model of 2026-10-21): 0.84% probability of exploitation activity in the next 30 days; percentile 57.
Timeline
- — CVE record last updated
- — CVE record published by Mattermost
- — GitHub-reviewed advisory GHSA-qh58-9v3j-wcjc published (critical)
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vulnerability records
- GitHub Advisory GHSA-qh58-9v3j-wcjc github.com
- CVE.org record CVE-2025-4981 cve.org
- NVD entry CVE-2025-4981 nvd.nist.gov
Other references from the CVE record and advisory
- mattermost.com mattermost.com
- github.com github.com