LiveActive security incident?Get immediate response
CVE Record

CVE-2026-36044: @pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool.

@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. NOTE: this is disputed by the Supplier because the report is about intended behavior, as explained in the Security Policy of the pensarai/apex GitHub repo.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-36044 reports a command-injection risk in @pensar/apex through the smart_enumerate tool. If untrusted input reaches the tool’s URL or extensions parameters, the host may execute unintended operating-system commands. The supplier disputes the report as intended behavior under its security policy, so treat exposure as context-dependent.

Executive priority

Prioritize review if your organization uses @pensar/apex in automation, agent, or externally influenced workflows. The technical impact could be severe, but the vendor dispute and lack of exploitation evidence make validation essential before emergency action.

Technical view

The CVE states createSmartEnumerateTool() in src/core/agent/tools.ts builds a shell command by concatenating unsanitized extensions and url values, then passes it to Node.js child_process.exec(). Because exec() invokes a shell, metacharacters could execute commands as the running process. CVSS is 8.8 High, CWE-78. Reported affected range is @pensar/apex <= 0.0.58.

Likely exposure

Exposure is most likely where @pensar/apex <= 0.0.58 is installed and smart_enumerate can receive untrusted or user-controlled URL or extension values. Systems running the package with elevated privileges would face greater impact. The CVE record does not identify specific deployments or CPEs.

Exploitation context

No cited source or KEV status indicates active exploitation. The scenario requires user interaction per the CVSS vector and depends on whether untrusted input is passed into the tool. The supplier disputes the finding, saying the reported behavior is intended per the project security policy.

Researcher notes

The key issue is shell invocation with concatenated parameters. Source evidence is limited to the CVE description, npm package reference, researcher gist, and supplier security-policy dispute. Avoid assuming a universal vulnerability; assess trust boundaries, intended use, and whether inputs are attacker-controlled.

Mitigation direction

  • Inventory uses of @pensar/apex and identify versions at or below 0.0.58.
  • Review vendor security guidance and package release notes for official fixes or position.
  • Do not pass untrusted URL or extension values to smart_enumerate.
  • Run affected processes with least privileges and restricted execution permissions.
  • Consider disabling or isolating smart_enumerate where untrusted input is possible.

Validation and detection

  • Check package manifests and lockfiles for @pensar/apex versions.
  • Review application code paths invoking createSmartEnumerateTool or smart_enumerate.
  • Confirm whether URL or extensions values can originate from users or external systems.
  • Verify runtime privileges of services using the package.
  • Monitor project security page and npm package history for updates.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-36044 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R2.85.9mitre

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2026-36044Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:R

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.