Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain low-tier moderator role on server
-
DeliveryIdentify higher-ranked target outranked by bot
-
ExploitInvoke Quest Bot moderation command on target
-
ExecutionBot performs ban/kick/timeout/rename bypassing hierarchy
-
ImpactHigher-ranked user silenced or removed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) the target Discord server to have Quest Bot prior to 1.1.6 installed, (2) the attacker to already be a member of that server with at least one Discord moderation permission bit recognised by the bot (Ban Members, Kick Members, Moderate Members, or Manage Nicknames depending on the action), and (3) Quest Bot's own role to be ranked above the victim in the server's role hierarchy. Exploitation is limited to actions Quest Bot exposes (ban, kick, timeout, untimeout, warn, rename) and cannot escalate beyond the bot's own role ceiling; servers that place Quest Bot below administrator/owner roles, or that do not grant moderation permission bits to lower-trust roles, are not exploitable. |
| Impact | The CVSS 4.0 vector CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:H (base 7.2) captures the situation well: network-reachable via Discord, low complexity, low privileges (any moderator with the relevant permission bit), no user interaction, and high integrity impact on the guild and subsequent system (Discord server membership/state). There is no EPSS score, no SSVC decision, and no entry in CISA KEV provided, and no public exploit identified at time of analysis, so this should be treated as a logic flaw whose exploitation requires existing moderator status on a server running a vulnerable Quest Bot instance - meaningful but not internet-wide. The Attack Requirement AT:P (a specific configuration - the bot must outrank the target and the invoker must already hold a Discord moderation permission) limits blast radius; conversely, on servers where Quest Bot is deployed near the top of the role list, a single compromised or rogue junior moderator can act against admins/owners, which is a material trust-boundary violation. |
| Exploit ScenarioDerived | A junior moderator on a Discord server that uses Quest Bot - for example, someone with only the Moderate Members permission - invokes a Quest Bot command such as ban, kick, timeout, or rename targeting an administrator or the server owner. Because the bot's role sits above the target and Quest Bot only checks the invoker's permission bit (not their relative role rank), the action succeeds, letting the lower-ranked moderator silence, expel, or impersonate higher-ranked staff. No public exploit identified at time of analysis, but the abuse path is a single chat command and requires no tooling beyond existing moderator access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 12, 2026
Discord role hierarchy bypass in Quest Bot (open-source Discord moderation bot) prior to version 1.1.6 allows moderators to perform privileged actions against users ranked above them in the server role hierarchy. Any moderator holding the relevant Discord permission bit can ban, kick, timeout, untimeout, warn, or rename higher-ranked members so long as the bot itself outranks the target. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Vendor-released patch: questbot-v1.1.6 - operators of Quest Bot should upgrade to 1.1.6 or later per the release at https://github.com/duck-organization/questbot/releases/tag/questbot-v1.1.6 and the advisory at https://github.com/duck-organization/questbot/security/advisories/GHSA-qw95-583r-hrwp. Until the upgrade is deployed, the most effective compensating controls are to lower Quest Bot's role beneath the roles you want to protect (so it cannot act on admins/owners at all - trade-off: it can no longer moderate equally high-ranked offenders), revoke Discord moderation permission bits (Ban Members, Kick Members, Moderate Members, Manage Nicknames) from lower-trust moderator roles, or temporarily remove/disable the bot in sensitive servers. Audit recent moderation actions (ban/kick/timeout/warn/rename) issued through Quest Bot against high-ranked accounts to detect prior abuse before patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Quest Bot is an open-source Discord bot (CPE cpe:2.3:a:duck-organization:questbot) that executes moderation commands on behalf of users via the Discord API. Discord normally enforces a role hierarchy in which a member cannot moderate another member whose highest role is equal to or above their own. The root cause is CWE-862 (Missing Authorization): Quest Bot only verified that the invoking user held the Discord permission bit for the action and that the bot's role outranked the target, but never compared the invoker's top role against the target's top role. Because the bot acts with its own (higher) role, this effectively launders the moderator's request through a more privileged identity, defeating Discord's client- and API-side hierarchy checks.
Know when Questbot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:H
Exploited over Discord (AV:N) by any moderator with a permission bit (PR:L), no user interaction, scope changes to the Discord guild (S:C); primary impact is integrity of higher-ranked accounts (I:H) with some availability loss via bans/timeouts (A:L) and no data disclosure.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Quest Bot is an opensource Discord Bot. Prior to version 1.1.6, a moderator with the relevant Discord permission bit can use the bot to moderate users above them in the Discord role hierarchy, as long as the bot itself outranks the target. This bypasses Discord’s normal role hierarchy protections and lets lower-ranked moderators ban, kick, timeout, untimeout, warn, or rename higher-ranked users. This issue has been patched in version 1.1.6.
Executive ViewAI
Quest Bot, an open-source Discord moderation bot, contains a role hierarchy bypass vulnerability affecting all versions prior to 1.1.6. The flaw allows lower-ranked moderators to escalate privileges and perform actions (suspend, remove, timeout, warn, rename members) against higher-ranked users, directly undermining role-based governance controls. Any Discord server using the vulnerable version faces risk of governance compromise through rogue moderator abuse.
Vendor-released patch: version 1.1.6 or later.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Improper input validation in Quest Bot (an open-source Discord bot) prior to version 1.1.6 lets a guild moderator weapon
Authorization bypass in Quest Bot Discord bot prior to version 1.1.6 lets low-privilege guild members invoke the purge a
Ticket panel resource exhaustion in Quest Bot (open-source Discord bot, all versions prior to 1.1.8) allows any Discord
Server-side request forgery in the open-source Discord bot Quest Bot (versions up to and including 1.1.8) lets any ordin
Mention injection in Quest Bot prior to version 1.1.6 allows Discord server moderators to embed @everyone or @here mass-
EUVD-2026-36414
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB