CVE-2026-36044: n/a
@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
Technical Summary
The vulnerability exists in the createSmartEnumerateTool() function within src/core/agent/tools.ts of @pensar/apex (<= 0.0.58). This function 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 these inputs are interpreted by the host shell, enabling arbitrary OS command execution with the privileges of the process running the tool. The CVSS 3.1 base score is 8.8, indicating high severity, with attack vector network, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the host with the privileges of the running process. This can lead to full compromise of the affected system, including unauthorized data access, modification, or destruction. The vulnerability does not require prior privileges but does require user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions of @pensar/apex (<= 0.0.58) or restrict access to the smart_enumerate tool to trusted users only. Do not pass untrusted input to the smart_enumerate tool parameters. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-36044: n/a
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.
CVSS v3.1
Score 8.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in the createSmartEnumerateTool() function within src/core/agent/tools.ts of @pensar/apex (<= 0.0.58). This function 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 these inputs are interpreted by the host shell, enabling arbitrary OS command execution with the privileges of the process running the tool. The CVSS 3.1 base score is 8.8, indicating high severity, with attack vector network, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the host with the privileges of the running process. This can lead to full compromise of the affected system, including unauthorized data access, modification, or destruction. The vulnerability does not require prior privileges but does require user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions of @pensar/apex (<= 0.0.58) or restrict access to the smart_enumerate tool to trusted users only. Do not pass untrusted input to the smart_enumerate tool parameters. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-06T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a16f9d0e29bf47b50c0e775
Added to database: 5/27/2026, 2:04:00 PM
Last enriched: 5/27/2026, 2:48:31 PM
Last updated: 5/29/2026, 3:01:31 PM
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.