# CVE-2024-1942: Mattermost allows attackers access to posts in channels they are not a member of

- Severity: Medium 4.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/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.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2024-02-29T10:41:38.292Z
- Modified: 2026-09-10T03:50:06.204Z
- Also known as: GHSA-hwjf-4667-gqwx, BIT-MATTERMOST-2024-1942, GO-2024-2592
- Related: CGA-pwp9-83xj-8wjr
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

Mattermost versions 8.1.x before 8.1.9, 9.2.x before 9.2.5, and 9.3.0 fail to sanitize the metadata on posts containing permalinks under specific conditions, which allows an authenticated attacker to access the contents of individual posts in channels they are not a member of.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 9.2.0 up to 9.2.4; from 8.1.0 up to 8.1.8; 9.3.0 (not affected: 9.4; 9.3.1; 9.2.5; 8.1.9)
- github.com/mattermost/mattermost/server/v8 (Go): from 9.3.0 before 9.3.1; from 9.2.0 before 9.2.5; before 8.1.9; all versions
- github.com/mattermost/mattermost-server (Go): from 9.2.0+incompatible before 9.2.5+incompatible; from 9.3.0+incompatible before 9.3.1+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 8.1.0 before 8.1.9; from 9.2.0 before 9.2.5; 9.3.0
- mattermost (Bitnami): from 8.1.0 before 8.1.9; from 9.2.0 before 9.2.5; from 9.3.0 up to 9.3.0

## Every score

- Mattermost: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-1942> (advisory, web)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-hwjf-4667-gqwx> (advisory)

## Sources

- CVE List: [CVE-2024-1942](https://www.cve.org/CVERecord?id=CVE-2024-1942), CVE Terms of Use, modified 2024-08-12
- GitHub Advisory Database: [GHSA-hwjf-4667-gqwx](https://github.com/advisories/GHSA-hwjf-4667-gqwx), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2592](https://pkg.go.dev/vuln/GO-2024-2592), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-1942](https://nvd.nist.gov/vuln/detail/CVE-2024-1942), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MATTERMOST-2024-1942](https://osv.dev/vulnerability/BIT-MATTERMOST-2024-1942), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2024-1942 · Whole record: https://cve.day/CVE-2024-1942.json · Rebuilt by cve.day 2026-11-25T22:58:37.188Z
