{"id":"CVE-2022-23604","summary":"Privilege escalation in Defender","details":"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.","aliases":["GHSA-cfh8-v56j-5757"],"modified":"2026-08-12T03:51:19.194516271Z","published":"2022-02-15T15:40:11Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"1.10.0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23604.json"},"references":[{"type":"WEB","url":"https://github.com/Twentysix26/x26-Cogs/releases/tag/v1.10"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23604.json"},{"type":"ADVISORY","url":"https://github.com/Twentysix26/x26-Cogs/security/advisories/GHSA-cfh8-v56j-5757"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23604"},{"type":"FIX","url":"https://github.com/Twentysix26/x26-Cogs/commit/72dd9323cb4c90f3a5accac7087605375d178246"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/twentysix26/x26-cogs","events":[{"introduced":"0"},{"fixed":"72dd9323cb4c90f3a5accac7087605375d178246"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.9.1","v1.9","v1.8","v1.7","1.6.1","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23604.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}