Logic Flaw in CommandKit Framework for Discord Bots by UnderCtrl
CVE-2025-62378
6.1MEDIUM
What is CVE-2025-62378?
A logic flaw in the CommandKit framework allows the commandName property to be incorrectly exposed. When invoked via an alias, the ctx.commandName reflects the alias instead of the canonical command name, misleading developers who trust it for permission checks and other crucial logic. This can lead to unauthorized command executions or incorrect access control decisions, endangering the integrity of bot operations. This issue has since been resolved in version 1.2.0-rc.12.
Affected Version(s)
commandkit >= 1.2.0-rc.1 < 1.2.0-rc.12