What’s Vulnerable › Vulnerabilities
CVE-2022-23604: Privilege escalation in Defender
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-15 · updated 2026-06-17
- Weakness: CWE-269
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.
Affected products
- Twentysix26 x26-Cogs: before 1.10.0 — fixed in 1.10.0
How to fix
Upgrade to a fixed version: Twentysix26 x26-Cogs 1.10.0. Check the vendor advisory for mitigations.
References
- https://github.com/Twentysix26/x26-Cogs/commit/72dd9323cb4c90f3a5accac7087605375d178246
- https://github.com/Twentysix26/x26-Cogs/releases/tag/v1.10
- https://github.com/Twentysix26/x26-Cogs/security/advisories/GHSA-cfh8-v56j-5757
- https://github.com/Twentysix26/x26-Cogs/commit/72dd9323cb4c90f3a5accac7087605375d178246
- https://github.com/Twentysix26/x26-Cogs/releases/tag/v1.10
- https://github.com/Twentysix26/x26-Cogs/security/advisories/GHSA-cfh8-v56j-5757
Get alerted when CVE-2022-23604 or the next vulnerability affects your stack