CVE-2026-47197 Quest Bot: Discord moderation role hierarchy bypass in ban, kick, mute, unmute, warn, and nickname commands

High 7.2 Published Updated

Lower-ranked moderators can bypass Discord role hierarchy to ban, kick, or modify higher-ranked users via the Quest Bot.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-47197?

CVE-2026-47197 is a high-severity missing authorization vulnerability in duck-organization questbot, published on 12 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-862

Which versions are affected by CVE-2026-47197?

How do I fix CVE-2026-47197?

No fix has been published for CVE-2026-47197 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-47197 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47197 exists.

Sources

Also known as GHSA-qw95-583r-hrwp.

Is CVE-2026-47197 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free