8.8
/ 10
HIGH
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R
Description
@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.
AI Analysis
OS command injection vulnerability via the smart_enumerate tool
Basic Information
ID
CVE-2026-36044
Source
mitre
Published
May 27, 2026 at 00:00
Modified
May 27, 2026 at 13:44
Affected Product
Vendor
@pensar
Product
@pensar/apex
Version
0.0.58
Affected Versions
n/a n/a n/a
AI Assessment
AI Score
8.8 / 10
AI Severity
High
Vendor
@pensar
Product
apex
Version
0.0.58