@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.
History

Sat, 30 May 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Pensar
Pensar apex
Vendors & Products Pensar
Pensar apex

Fri, 29 May 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 27 May 2026 16:15:00 +0000

Type Values Removed Values Added
Title OS Command Injection via Unsanitized Parameters in @pensar/apex's smart_enumerate Tool
Weaknesses CWE-78

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
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.
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2026-05-27T00:00:00.000Z

Updated: 2026-05-29T15:36:56.069Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-36044

cve-icon Vulnrichment

Updated: 2026-05-29T15:36:34.265Z

cve-icon NVD

Status : Deferred

Published: 2026-05-27T14:16:45.143

Modified: 2026-05-29T16:16:26.500

Link: CVE-2026-36044

cve-icon Redhat

No data.