CVE-2025-36530
MEDIUM 4.9CVSS 3.1Mattermost Fails to Validate File Paths
Mattermost versions 10.9.x <= 10.9.1, 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17 fail to properly validate file paths during plugin import operations which allows restricted admin users to install unauthorized custom plugins via path traversal in the import functionality, bypassing plugin signature enforcement and marketplace restrictions.
- Published
- 21 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-gq3r-5833-5532GO-2025-3901
- Sources
- NVDJSONOSV GHSA-gq3r-5833-5532JSONOSV GO-2025-3901JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 9.11.0, < 9.11.18 | 9.11.18 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.9 | 10.5.9 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.8.0, < 10.8.4 | 10.8.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.9.0, < 10.9.2 | 10.9.2 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.9.0, < 10.9.2 | 10.9.2 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.8.0, < 10.8.4 | 10.8.4 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.5.0, < 10.5.9 | 10.5.9 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.11.0, < 9.11.18 | 9.11.18 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20250619095651-9dd0b3943e55 | 8.0.0-20250619095651-9dd0b3943e55 |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | <= 5.11.1 | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | <= 6.7.2 | |
| OSV | Go | github.com/mattermost/mattermost-server | >= 9.11.0+incompatible, < 9.11.18+incompatible; >= 10.5.0+incompatible, < 10.5.9+incompatible; >= 10.8.0+incompatible, < 10.8.4+incompatible; >= 10.9.0+incompatible, < 10.9.2+incompatible | 9.11.18+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.2+incompatible |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions | |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-36530 · ADVISORY
- https://github.com/mattermost/mattermost · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3901 · WEB
- https://github.com/advisories/GHSA-gq3r-5833-5532 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 21 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Aug 2025)