# CVE-2022-2366: Incorrect defaults can cause attackers to bypass rate limitations

- Severity: Medium 5.6 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2022-07-11T14:08:50.000Z
- Modified: 2026-06-17T04:41:46.087Z
- Also known as: BIT-MATTERMOST-2022-2366
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## Description

Incorrect default configuration for trusted IP header in Mattermost version 6.7.0 and earlier allows attacker to bypass some of the rate limitations in place or use manipulated IPs for audit logging via manipulating the request headers.

(As written by CVE List.)

## Affected

- Mattermost Mattermost: 6.7.x 6.7.0; from 6.x up to 6.3.8; from 6.5.x up to 6.5.1; from 6.6.x up to 6.6.1
- mattermost mattermost_server: before 6.3.9; from 6.4.0 before 6.5.2; from 6.6.0 before 6.6.2; 6.7.0
- mattermost (Bitnami): before 6.3.9; from 6.4.0 before 6.5.2; from 6.6.0 before 6.6.2; from 6.7.0 up to 6.7.0

## Every score

- Mattermost: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://mattermost.com/security-updates/> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2366> (web)

## Sources

- CVE List: [CVE-2022-2366](https://www.cve.org/CVERecord?id=CVE-2022-2366), CVE Terms of Use, modified 2024-12-06
- NVD: [CVE-2022-2366](https://nvd.nist.gov/vuln/detail/CVE-2022-2366), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MATTERMOST-2022-2366](https://osv.dev/vulnerability/BIT-MATTERMOST-2022-2366), Apache-2.0, modified 2025-04-03

---

Page: https://cve.day/CVE-2022-2366 · Whole record: https://cve.day/CVE-2022-2366.json · Rebuilt by cve.day 2026-11-25T22:58:12.830Z
