
Cloud Vulnerability DB
A community-led vulnerabilities database
CommandKit, a discord.js meta-framework, was found to contain a logic flaw in its message command handler affecting versions 1.2.0-rc.1 through 1.2.0-rc.11. The vulnerability, identified as CVE-2025-62378, was discovered and disclosed in October 2025. The flaw specifically impacts how the commandName property is exposed in both middleware functions and command execution contexts when handling command aliases (GitHub Advisory).
The vulnerability stems from a logic flaw where when a message command is invoked using an alias, the ctx.commandName value incorrectly reflects the alias instead of the canonical command name. This behavior occurs in both middleware functions and within the command's run function. The issue has been assigned a CVSS v3.1 score of 6.1 (Moderate) with a vector string of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N, indicating local attack vector, low attack complexity, and low privileges required (GitHub Advisory).
The vulnerability could lead to unauthorized command execution or inaccurate access control decisions. Developers who assume ctx.commandName is canonical may introduce unintended behavior when relying on it for logic such as permission checks, rate limiting, or audit logging. The impact primarily affects the integrity of command execution, with potential for low confidentiality impact (GitHub Advisory).
The vulnerability has been patched in version 1.2.0-rc.12, where ctx.commandName now consistently returns the actual canonical command name, regardless of the alias used. For users unable to upgrade immediately, two workarounds are available: use ctx.command.data.command.name for permission validations, or include all command aliases in permission logic (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."