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

- Severity: Low 3.1 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-02)
- Published: 2023-06-16T09:03:17.656Z
- Modified: 2026-06-17T05:53:27.847Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

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

(As written by CVE List.)

## Affected

- Mattermost Mattermost Github Plugin: up to 7.1.9; up to 7.8.4; 7.10.0 (not affected: 7.1.10; 7.8.5; 7.10.1)
- mattermost mattermost: from 7.1.0 up to 7.1.9; from 7.8.0 up to 7.8.4; 7.10.0

## Every score

- Mattermost: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://mattermost.com/security-updates/> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-2797](https://www.cve.org/CVERecord?id=CVE-2023-2797), CVE Terms of Use, modified 2024-12-06
- NVD: [CVE-2023-2797](https://nvd.nist.gov/vuln/detail/CVE-2023-2797), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2797 · Whole record: https://cve.day/CVE-2023-2797.json · Rebuilt by cve.day 2026-11-25T22:58:24.903Z
