{"id":"GHSA-mp9m-g7qj-6vqr","summary":"Unauthorized privilege escalation in Mod module","details":"### Impact\nAn unauthorized privilege escalation exploit has been discovered 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's possible to perform destructive actions within the guild the user has high privileges in.\n\n### Patches\nThis exploit has been fixed on version & ``3.4.1``.\n\n### Workarounds\nUnloading 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.\n\n### References\n* https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Cog-Creators/Red-DiscordBot](https://github.com/Cog-Creators/Red-DiscordBot)\n* Over on our [Discord server](https://discord.gg/red)","aliases":["CVE-2020-15278","PYSEC-2020-267"],"modified":"2026-09-10T03:48:58.792206039Z","published":"2020-10-27T20:30:48Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-10-27T20:26:42Z","nvd_published_at":null,"cwe_ids":["CWE-285"]},"references":[{"type":"WEB","url":"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15278"},{"type":"WEB","url":"https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b"},{"type":"WEB","url":"https://github.com/Cog-Creators/Red-DiscordBot"},{"type":"WEB","url":"https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-267.yaml"}],"affected":[{"package":{"name":"red-discordbot","ecosystem":"PyPI","purl":"pkg:pypi/red-discordbot"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1"}]}],"versions":["3.0.0","3.0.0b16","3.0.0b17","3.0.0b18","3.0.0b19","3.0.0b20","3.0.0b21","3.0.0rc1","3.0.0rc1.post1","3.0.0rc2","3.0.0rc3","3.0.0rc3.post1","3.0.1","3.0.2","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.2.0","3.2.1","3.2.2","3.2.3","3.3.0","3.3.1","3.3.10","3.3.11","3.3.12","3.3.2","3.3.3","3.3.4","3.3.5","3.3.6","3.3.7","3.3.8","3.3.9","3.4.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/10/GHSA-mp9m-g7qj-6vqr/GHSA-mp9m-g7qj-6vqr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"}]}