Executive brief
Quest Bot, an open-source Discord bot used for server moderation and support, contains a flaw that allows users with administrative bot access to view messages from private channels they shouldn't be able to see. By configuring the bot to log message edits and deletions to a public channel, an attacker can intercept sensitive staff discussions or private member communications. This could lead to the exposure of confidential server data, moderation notes, and private user information.
Technical details
An information disclosure vulnerability (CWE-200) exists in Quest Bot's logging module. The bot fails to verify if the users who can view a configured logging channel also have permissions to view the source channels being logged. An attacker with 'Manage Server' or equivalent bot configuration permissions can enable logging and set the output to a channel they control. Consequently, when messages are edited or deleted in private/staff channels that the bot can see, the bot mirrors the original content into the attacker's logging channel. This bypasses Discord's channel-specific permission overrides. The issue is resolved in version 1.0.4.
Affected products
- duck-organization Quest Bot < 1.0.4
Timeline
- 2026-05-17: patched: Version 1.0.4 released
- 2026-06-11: disclosed: CVE-2026-47176 published