Description
Red Discord Bot before version 3.4.1 has an unauthorized privilege escalation exploit in the Mod module. This exploit allows Discord users with a high privilege level within the guild to bypass hierarchy checks when the application is in a specific condition that is beyond that user's control. By abusing this exploit, it is possible to perform destructive actions within the guild the user has high privileges in. This exploit has been fixed in version 3.4.1. As a workaround, unloading the Mod module with unload mod or, disabling the massban command with command disable global massban can render this exploit not accessible. We still highly recommend updating to 3.4.1 to completely patch this issue.
References (3)
Core 3
Core References
Third Party Advisory x_refsource_confirm
https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr
Patch, Third Party Advisory x_refsource_misc
https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b
Third Party Advisory x_refsource_misc
https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1
Scores
CVSS v3
7.7
EPSS
0.0106
EPSS Percentile
60.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Details
CWE
CWE-863
Status
published
Products (2)
cogboard/red_discord_bot
< 3.4.1
pypi/Red-DiscordBot
0 - 3.4.1PyPI
Published
Oct 28, 2020
Tracked Since
Feb 18, 2026