Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-15278

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-15278
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:53 UTC · Revision 1

Source evidence

CVE-2020-15278

core-osv · Original source

Published 28 Oct 2020, 17:15 UTC

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.

osv:CVE-2020-15278
Complete source record
{
  "id": "1382a0ea7409cb85e5d7f310be76db086be9f1a86813854c34df12e66e9754d8",
  "url": "https://osv.dev/vulnerability/CVE-2020-15278",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-15278",
    "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.",
    "evidence": "osv:CVE-2020-15278",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-15278",
      "aliases": [
        "CVE-2020-15278",
        "GHSA-mp9m-g7qj-6vqr",
        "PYSEC-2020-267"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cog-creators/red-discordbot",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b496ebfba8396e680596aecff3b6ad0560608f06"
                },
                {
                  "fixed": "726bfd38adfdfaef760412a68e01447b470f438b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cogboard:red_discord_bot:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.4.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "726bfd38adfdfaef760412a68e01447b470f438b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b496ebfba8396e680596aecff3b6ad0560608f06"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.4.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4.0",
            "3.3.10",
            "3.3.9",
            "3.3.8",
            "3.3.7",
            "3.3.6",
            "3.3.5",
            "3.3.4",
            "3.3.3",
            "3.3.2",
            "3.3.1",
            "3.3.0",
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1.4",
            "3.1.3",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.0b21",
            "3.0.0b20",
            "3.0.0b19",
            "3.0.0b18",
            "3.0.0b17.post1",
            "3.0.0b17",
            "3.0.0b16",
            "3.0.0b15",
            "3.0.0b14",
            "3.0.0b13",
            "3.0.0b12",
            "3.0.0b11",
            "3.0.0b10",
            "3.0.0b9",
            "3.0.0b8-1",
            "3.0.0b8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15278.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:54.172243121Z",
      "provider": "osv",
      "references": [
        "https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1",
        "https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr",
        "https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-15278",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383107,
  "published_at": "2020-10-28T17:15:12.42+00:00"
}