cve.bz

CVE-2023-6458 mattermost mattermost server: Path traversal

9.8 criticalEPSS 0.6%Fix available

Critical (9.8) in mattermost mattermost server. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/mattermost/mattermost-server/v6 7.8.14.

On this page
Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perform a client-side path traversal.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/mattermost/mattermost-server/v6 (Go): fixed in 7.8.14
  • github.com/mattermost/mattermost/server/v8 (Go): fixed in 8.1.5, 9.0.3
  • github.com/mattermost/mattermost/server (Go): fixed in 9.1.2
  • Vendor advisory: https://mattermost.com/security-updates

Ask an AI about this CVE

Show the promptExplain CVE-2023-6458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6458?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Mattermostthrough 9.1.1
Mattermostthrough 9.0.2
Mattermostthrough 8.1.4
Mattermostthrough 7.8.13

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7664-hcp7-f497Gogithub.com/mattermost/mattermost-server/v6<7.8.147.8.14
GHSA-7664-hcp7-f497Gogithub.com/mattermost/mattermost/server/v8<8.1.58.1.5
GHSA-7664-hcp7-f497Gogithub.com/mattermost/mattermost/server/v8>=9.0.0 <9.0.39.0.3
GHSA-7664-hcp7-f497Gogithub.com/mattermost/mattermost/server>=9.1.0 <9.1.29.1.2

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON