cve.bz

CVE-2025-8023

4.9 mediumEPSS 0.4%

Medium (4.9) in mattermost mattermost server. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in github.com/mattermost/mattermost-server 10.5.9, 10.5.9+incompatible, 10.8.4.

Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2 fails to sanitize path traversal sequences in template file destination paths, which allows a system admin to perform path traversal attacks via malicious path components, potentially enabling malicious file placement outside intended directories.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 34% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x67c-v8jr-p29rGogithub.com/mattermost/mattermost-server>=10.8.0 <10.8.410.8.4
GHSA-x67c-v8jr-p29rGogithub.com/mattermost/mattermost-server>=10.5.0 <10.5.910.5.9
GHSA-x67c-v8jr-p29rGogithub.com/mattermost/mattermost-server>=9.11.0 <9.11.189.11.18
GHSA-x67c-v8jr-p29rGogithub.com/mattermost/mattermost-server>=10.9.0 <10.9.310.9.3
GHSA-x67c-v8jr-p29rGogithub.com/mattermost/mattermost/server/v8<8.0.0-20250708065844-b38e2eccda188.0.0-20250708065844-b38e2eccda18
GHSA-x67c-v8jr-p29rGogithub.com/mattermost/mattermost-server/v5<=5.39.5no fix published
GHSA-x67c-v8jr-p29rGogithub.com/mattermost/mattermost-server/v6<=6.7.2no fix published
GO-2025-3907Gogithub.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.3+incompatible
9.11.18+incompatible, 10.5.9+incompatible, 10.8.4+incompatible, 10.9.3+incompatible
GO-2025-3907Gogithub.com/mattermost/mattermost-server/v5all versionsno fix published
GO-2025-3907Gogithub.com/mattermost/mattermost-server/v6all versionsno fix published
GO-2025-3907Gogithub.com/mattermost/mattermost/server/v8<8.0.0-20250708065844-b38e2eccda188.0.0-20250708065844-b38e2eccda18

References

Check your stackJSON