CVE-2026-13426: github.com/mattermost/mattermost/server/public vulnerable to path traversal in API route construction
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
Published Jun 26, 2026 · Updated Nov 3, 2026
Affected packages
github.com/mattermost/mattermost/server/public
- Ecosystem
- Go
- Affected
- < 0.1.22
- Fixed in
- 0.1.22
- Check
go list -m github.com/mattermost/mattermost/server/public
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to portyu9.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-13426
- https://mattermost.com/security-updates
- https://github.com/mattermost/mattermost/pull/34499
- https://github.com/mattermost/mattermost/pull/39305
- https://github.com/mattermost/mattermost/commit/2b075c9b74effbb56f3769f1bdec161eef4c6808
- https://github.com/mattermost/mattermost/commit/64c16ff0ea7f455ee648bfe906407def1274fbd3
- https://github.com/mattermost/mattermost/releases/tag/server/public/v0.1.22
- https://github.com/advisories/GHSA-72v2-v53v-4qmm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
