ADVISORIES

GitHub Advisory Database

GHSA-72v2-v53v-4qmm

github.com/mattermost/mattermost/server/public vulnerable to path traversal in API route construction

Details

The Mattermost Go module github.com/mattermost/mattermost/server/public versions < v0.1.22 fail to validate path parameters when constructing API route paths which allows an attacker to redirect API calls to unintended endpoints via crafted IDs containing path traversal components. Mattermost Advisory ID: MMSA-2025-00532

Affected packages

EcosystemPackageAffected versions
Gogithub.com/mattermost/mattermost/server/public
All versions before 0.1.22 (fixed in 0.1.22)

References