# CVE-2020-15278: Unauthorized privilege escalation in Mod module

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.09%, higher than 66% of CVEs (2026-12-01)
- Published: 2020-10-27T20:30:48.000Z
- Modified: 2026-09-10T03:48:58.792Z
- Also known as: GHSA-mp9m-g7qj-6vqr, PYSEC-2020-267
- Weaknesses: CWE-285, CWE-863
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Cog-Creators Red-DiscordBot: < 3.4.1
- red-discordbot (PyPI): before 3.4.1; before 726bfd38adfdfaef760412a68e01447b470f438b
- cogboard red_discord_bot: before 3.4.1

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.0 7.7 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr> (advisory, third-party-advisory, web)
- <https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b> (fix, patch, third-party-advisory, web)
- <https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15278> (advisory)
- <https://github.com/Cog-Creators/Red-DiscordBot> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-267.yaml> (web)

## Sources

- CVE List: [CVE-2020-15278](https://www.cve.org/CVERecord?id=CVE-2020-15278), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-mp9m-g7qj-6vqr](https://github.com/advisories/GHSA-mp9m-g7qj-6vqr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-15278](https://nvd.nist.gov/vuln/detail/CVE-2020-15278), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-267](https://osv.dev/vulnerability/PYSEC-2020-267), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-15278 · Whole record: https://cve.day/CVE-2020-15278.json · Rebuilt by cve.day 2026-11-25T22:57:55.490Z
