VYPR
Moderate severityNVD Advisory· Published Aug 21, 2025· Updated Aug 21, 2025

Path Traversal in Template Upload Allows Uploading Files Outside Target Directory

CVE-2025-8023

Description

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
github.com/mattermost/mattermost-serverGo
>= 10.8.0, < 10.8.410.8.4
github.com/mattermost/mattermost-serverGo
>= 10.5.0, < 10.5.910.5.9
github.com/mattermost/mattermost-serverGo
>= 9.11.0, < 9.11.189.11.18
github.com/mattermost/mattermost-serverGo
>= 10.9.0, < 10.9.310.9.3
github.com/mattermost/mattermost/server/v8Go
< 8.0.0-20250708065844-b38e2eccda188.0.0-20250708065844-b38e2eccda18
github.com/mattermost/mattermost-server/v5Go
<= 5.39.5
github.com/mattermost/mattermost-server/v6Go
<= 6.7.2

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.