Home / underctrl-io / commandkit / CVE-2025-62378
CVE-2025-62378: is it exploited, and which versions of underctrl-io commandkit are affected and fixed?
CVE-2025-62378 is an incorrectly resolved name or reference vulnerability in underctrl-io commandkit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: commandkit from 1.2.0-rc.1 before 1.2.0-rc.12 (GitHub advisory GHSA-fhwm-pc6r-4h2f). Fixed in 1.2.0-rc.12 (GitHub advisory GHSA-fhwm-pc6r-4h2f). Severity: Medium (6.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-62378?
CommandKit exposes incorrect command name in context object for message command aliases
CommandKit is the discord.js meta-framework for building Discord bots. In versions 1.2.0-rc.1 through 1.2.0-rc.11, a logic flaw exists in the message command handler that affects how the commandName property is exposed to both middleware functions and command execution contexts when handling command aliases. When a message command is invoked using an alias, the ctx.commandName value reflects the alias rather than the canonical command name. This occurs in both middleware functions and within the command's own run function. Although not explicitly documented, CommandKit's examples and guidance around middleware usage implicitly convey that ctx.commandName represents the canonical command identifier. Middleware examples in the documentation consistently use ctx.commandName to reference the command being executed. 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. This could allow unauthorized command execution or inaccurate access control decisions. Slash commands and context menu commands are not affected. This issue 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 to invoke it.
From the CVE record by GitHub_M, last updated October 15, 2025, 17:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| underctrl-io | commandkit | >= 1.2.0-rc.1 < 1.2.0-rc.12 |
As the CVE record by GitHub_M states it, last updated October 15, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | commandkit | >= 1.2.0-rc.1, < 1.2.0-rc.12 | 1.2.0-rc.12 | GHSA-fhwm-pc6r-4h2f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 15, 2025. Summary: CommandKit has incorrect command name exposure in context object for message command aliases.
How severe is CVE-2025-62378?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-62378 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 15, 2025)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-706 Use of Incorrectly-Resolved Name or Reference
Where are the vendor advisories and references?
- https://github.com/underctrl-io/commandkit/security/advisories/GHSA-fhwm-pc6r-4h2f x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- October 10, 2025
- Published
- October 15, 2025, 17:02 UTC
- CVE record updated
- October 15, 2025, 17:13 UTC by GitHub_M
- NVD
- Deferred, last modified October 8, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-62378
Is CVE-2025-62378 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of underctrl-io commandkit are affected by CVE-2025-62378?
commandkit from 1.2.0-rc.1 before 1.2.0-rc.12, per the GitHub advisory GHSA-fhwm-pc6r-4h2f. The tables above give every range the sources list.
Which version fixes CVE-2025-62378?
1.2.0-rc.12, per the GitHub advisory GHSA-fhwm-pc6r-4h2f. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-62378?
Medium (6.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-62378?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.