{"id":"CVE-2020-15278","aliases":["CVE-2020-15278","GHSA-mp9m-g7qj-6vqr","PYSEC-2020-267"],"related":[],"kind":"vulnerability","state":"published","title":"Unauthorized privilege escalation in Mod module","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Red Discord Bot versiones anteriores a 3.4.1, presenta una explotación de escalada de privilegios no autorizada en el módulo Mod. Esta explotación permite a usuarios de Discord con un alto nivel de privilegios dentro del gremio omitir una comprobación de jerarquía cuando la aplicación está en una condición específica que se encuentra fuera del control de ese usuario. Al abusar de esta explotación, es posible llevar a cabo acciones destructivas dentro del gremio en el que el usuario presenta altos privilegios. Esta explotación ha sido corregida en la versión 3.4.1. Como solución alternativa, descargar el módulo Mod con unload mod o, desactivar el comando massban con el comando disable global massban puede hacer que esta explotación no sea accesible. Seguimos recomendando encarecidamente actualizar a versión 3.4.1 para parchear completamente este problema","source":"nvd"}],"published":"2020-10-27T20:30:48.000Z","modified":"2026-09-10T03:48:58.792Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","score":6,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-863"],"affected":[{"ranges":[{"version":"< 3.4.1","status":"affected"}],"vendor":"Cog-Creators","product":"Red-DiscordBot","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4.1"}],"ecosystem":"PyPI","package":"red-discordbot","purl":"pkg:pypi/red-discordbot","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.4.1"}],"vendor":"cogboard","product":"red_discord_bot","cpe":"cpe:2.3:a:cogboard:red_discord_bot:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"726bfd38adfdfaef760412a68e01447b470f438b"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.4.1"}],"ecosystem":"PyPI","package":"red-discordbot","purl":"pkg:pypi/red-discordbot","repo":"https://github.com/Cog-Creators/Red-DiscordBot","source":"pysec"}],"references":[{"url":"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15278","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-267.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15278","url":"https://www.cve.org/CVERecord?id=CVE-2020-15278","licence":"CVE Terms of Use","modified":"2024-08-04T13:15:20.121Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mp9m-g7qj-6vqr","url":"https://github.com/advisories/GHSA-mp9m-g7qj-6vqr","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:58.792Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15278","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15278","licence":"Public domain","modified":"2026-06-17T02:56:24.827Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-267","url":"https://osv.dev/vulnerability/PYSEC-2020-267","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:36.567Z"}],"updatedAt":"2026-11-25T22:57:55.490Z","epss":{"score":0.01087,"percentile":0.66284,"date":"2026-12-01T12:00:22.000Z"}}