CVE-2023-2797: Path traversal in GitHub plugin's code preview feature

Published Jun 16, 2023
·
Updated

Mattermost fails to sanitize code permalinks, allowing an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.

Affected Software

3 affected components
Mattermost Mattermost>=7.1.0<=7.1.9
Mattermost Mattermost>=7.8.0<=7.8.4
Mattermost Mattermost=7.10.0

Remediation

Information

Update Mattermost to version v7.1.10, v7.8.5, v7.10.1 or higher.

Event History

Jun 16, 2023
CVE Published
via MITRE·09:03 AM
Data Sourced
via MITRE·09:03 AM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2023-2797?

CVE-2023-2797 is a vulnerability in Mattermost that allows an attacker to preview code from private repositories by posting a specially crafted permalink on a channel.

2

How does Mattermost fail to sanitize code permalinks?

Mattermost fails to properly sanitize code permalinks, allowing an attacker to exploit the vulnerability.

3

Which versions of Mattermost are affected by CVE-2023-2797?

Versions between 7.1.0 and 7.1.9, versions between 7.8.0 and 7.8.4, and version 7.10.0 of Mattermost are affected by CVE-2023-2797.

4

What is the severity of CVE-2023-2797?

CVE-2023-2797 has a severity rating of 6.5 (medium).

5

How can I fix CVE-2023-2797?

To fix CVE-2023-2797, it is recommended to update Mattermost to a version that has patched the vulnerability. Refer to the vendor's security updates for more information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203