# GHSA-72V2-V53V-4QMM: github.com/mattermost/mattermost/server/public vulnerable to path traversal in API route construction

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-06-26
- Modified: 2026-11-06

## Tracked as

- [CVE-2026-13426](https://cve.now/CVE-2026-13426.md): Client4 fails to validate path parameters

## Also published as

- [GO-2026-6910](https://cve.now/GO-2026-6910.md) (Go)

## Affected versions

- github.com/mattermost/mattermost/server/public (Go): fixed in 0.1.22

## Description

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

## References

- https://nvd.nist.gov/vuln/detail/CVE-2026-13426
- 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
- https://github.com/mattermost/mattermost/releases/tag/server/public/v0.1.22
- https://mattermost.com/security-updates

Page: https://cve.now/GHSA-72V2-V53V-4QMM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
