CVE-2026-13426: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Mattermost github.com/mattermost/mattermost/server/public
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
AI Analysis
Technical Summary
The Mattermost Go module github.com/mattermost/mattermost/server/public versions before v0.1.22 do not correctly validate pathname parameters when building API route paths. This improper limitation of a pathname to a restricted directory (CWE-22) enables an attacker with limited privileges to craft IDs with path traversal components, causing API calls to be redirected to unintended endpoints. The vulnerability was assigned CVE-2026-13426 and is documented in Mattermost Advisory MMSA-2025-00532. No official patch or remediation level has been published as of the advisory date.
Potential Impact
An attacker with limited privileges can exploit this vulnerability to redirect API calls to unintended endpoints by using crafted path traversal sequences in IDs. This can lead to limited confidentiality and integrity impacts on the affected system, but no availability impact has been reported. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided in the advisory, users should monitor Mattermost's official channels for updates. Until a patch is available, avoid using affected versions or apply any recommended temporary mitigations from the vendor if provided.
CVE-2026-13426: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Mattermost github.com/mattermost/mattermost/server/public
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
CVSS v3.1
Score 5.4medium
Affected software
pkg:golang/github.com/mattermost/mattermost/server/publicRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Mattermost Go module github.com/mattermost/mattermost/server/public versions before v0.1.22 do not correctly validate pathname parameters when building API route paths. This improper limitation of a pathname to a restricted directory (CWE-22) enables an attacker with limited privileges to craft IDs with path traversal components, causing API calls to be redirected to unintended endpoints. The vulnerability was assigned CVE-2026-13426 and is documented in Mattermost Advisory MMSA-2025-00532. No official patch or remediation level has been published as of the advisory date.
Potential Impact
An attacker with limited privileges can exploit this vulnerability to redirect API calls to unintended endpoints by using crafted path traversal sequences in IDs. This can lead to limited confidentiality and integrity impacts on the affected system, but no availability impact has been reported. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is provided in the advisory, users should monitor Mattermost's official channels for updates. Until a patch is available, avoid using affected versions or apply any recommended temporary mitigations from the vendor if provided.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Mattermost
- Date Reserved
- 2026-06-26T13:32:10.276Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3e8826cef61ccff97fbc80
Added to database: 06/26/2026, 14:09:42 UTC
Last enriched: 06/26/2026, 14:22:09 UTC
Last updated: 06/26/2026, 15:07:12 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.