PT-2025-42386 · Unknown · Commandkit+1

Publicado

2025-10-13

·

Atualizado

2025-10-16

·

CVE-2025-62378

CVSS v3.1

6.1

Média

VetorAV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Name of the Vulnerable Software and Affected Versions CommandKit versions 1.2.0-rc.1 through 1.2.0-rc.11
Description CommandKit is a discord.js meta-framework used for building Discord bots. A flaw in the message command handler affects how the commandName property is exposed during command alias usage. When a command is invoked using an alias, the ctx.commandName value reflects the alias instead of the actual command name in both middleware functions and the command’s execution context. This discrepancy can lead to unintended behavior in logic relying on the canonical command name, such as permission checks or rate limiting, potentially allowing unauthorized command execution or inaccurate access control. Slash commands and context menu commands are not affected.
Recommendations Versions prior to 1.2.0-rc.12 should be updated to version 1.2.0-rc.12 or later to ensure ctx.commandName consistently returns the canonical command name.

Exploit

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2025-62378
GHSA-FHWM-PC6R-4H2F

Produtos afetados

Commandkit
Discord.Js