# CVE-2022-23604: Privilege escalation in Defender

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.13%, higher than 67% of CVEs (2026-12-02)
- Published: 2022-02-15T15:40:11.000Z
- Modified: 2026-06-17T04:30:27.703Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

x26-Cogs is a repository of cogs made by Twentysix for the Red Discord bot. Among these cogs is the Defender cog, a tool for Discord server moderation. A vulnerability in the Defender cog prior to version 1.10.0 allows users with admin privileges to issue commands as other users who share the same server. If a bot owner shares the same server as the attacker, it is possible for the attacker to issue bot-owner restricted commands. The issue has been patched in version 1.10.0. One may unload the Defender cog as a workaround.

(As written by CVE List.)

## Affected

- Twentysix26 x26-Cogs: < 1.10.0
- x26-cogs_project x26-cogs: before 1.10.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/Twentysix26/x26-Cogs/security/advisories/GHSA-cfh8-v56j-5757> (issue-tracking, third-party-advisory)
- <https://github.com/Twentysix26/x26-Cogs/commit/72dd9323cb4c90f3a5accac7087605375d178246> (patch, third-party-advisory)
- <https://github.com/Twentysix26/x26-Cogs/releases/tag/v1.10> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-23604](https://www.cve.org/CVERecord?id=CVE-2022-23604), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-23604](https://nvd.nist.gov/vuln/detail/CVE-2022-23604), Public domain, modified 2026-06-17

---

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