Descrição
@pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts constructs a shell command by concatenating unsanitized values from the extensions array and url parameter into a string passed to Node.js child_process.exec(). Because exec() spawns a shell, shell metacharacters in those values are interpreted by the host shell, resulting in arbitrary OS command execution with the privileges of the running process.
CVSS 8.8EPSS 1.8519999999999999%Risco 1.03
Ver fonte- Publicação
- 2026-05-27 14:16:45
- Versões afetadas
- <=0.0.58
- Tipo
- Package
- Vetor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H