top of page
perceptive_background_267k.jpg

@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 co…

Published:

26 May 2026 at 22:00:00

Alert date:

27 May 2026 at 15:06:57

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Web Technologies

The @pensar/apex package version 0.0.58 and below contains an OS command injection vulnerability in the smart_enumerate tool. The createSmartEnumerateTool() function in src/core/agent/tools.ts improperly constructs shell commands by concatenating unsanitized user input from extensions array and url parameter. These values are passed directly to Node.js child_process.exec() function, which spawns a shell that interprets shell metacharacters. This vulnerability allows attackers to execute arbitrary OS commands with the privileges of the running process.

Technical details

Mitigation steps:

Affected products:

@pensar/apex

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page