CVE-2026-5602: @nor2/heim mcp @nor2/heim-mcp Vulnerable To Command Injection Vulnerability

LOW
Advisory Identifier: GHSA-wx4p-jr66-jfp9
CVSS 5.3
CWE-77
Published
Advisory Summary

CVE-2026-5602 is a LOW (CVSS 5.3) @nor2/heim-mcp vulnerable to command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting @nor2/heim mcp libraries in the npm ecosystem. The issue involves @nor2/heim-mcp vulnerable to command injection. Remediation is available in the latest vendor maintenance releases.

CVE-2026-5602 at a Glance

CVE Identifier CVE-2026-5602
GHSA Identifier GHSA-wx4p-jr66-jfp9
Severity LOW
CVSS v3.1 Base Score 5.3
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product @nor2/heim mcp
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2026-5602

To remediate this vulnerability, upgrade all affected @nor2/heim mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@nor2/heim-mcp fixed: Latest secure release
npm install @nor2/heim-mcp@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @nor2/heim-mcp

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-5602, inspect your project dependencies using npm:

npm ls @nor2/heim-mcp

Analyze the terminal output to locate any version of @nor2/heim mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls @nor2/heim-mcp command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In @nor2/heim mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was determined in Nor2-io heim-mcp up to 0.1.3. Impacted is the function registerTools of the file src/tools.ts of the component new_heim_application/deploy_heim_application/deploy_heim_application_to_cloud. This manipulation causes os command injection. The attack requires local access. The exploit has been publicly disclosed and may be utilized. Patch name: c321d8af25f77668781e6ccb43a1336f9185df37. It is suggested to install a patch to address this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

CVE-2026-5602 Affected @nor2/heim mcp Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
@nor2/heim-mcp
npm
≤ 0.1.3

References

Frequently Asked Questions

What is CVE-2026-5602?
CVE-2026-5602 is a security vulnerability in @nor2/heim mcp involving @nor2/heim-mcp vulnerable to command injection under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which @nor2/heim mcp versions are affected?
Affected versions include releases prior to current release patches across affected packages: @nor2/heim-mcp.
What version fixes CVE-2026-5602?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is @nor2/heim-mcp affected?
Yes, @nor2/heim-mcp is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-5602?
CVE-2026-5602 has a CVSS v3.1 base score of 5.3 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2026-5602?
CVE-2026-5602 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check npm dependencies for CVE-2026-5602?
Run the dependency tree command: 'npm ls @nor2/heim-mcp'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wx4p-jr66-jfp9",
  "modified" : "2026-04-06T18:01:48Z",
  "published" : "2026-04-06T00:30:24Z",
  "aliases" : [ "CVE-2026-5602" ],
  "summary" : "@nor2/heim-mcp vulnerable to command injection",
  "details" : "A vulnerability was determined in Nor2-io heim-mcp up to 0.1.3. Impacted is the function registerTools of the file src/tools.ts of the component new_heim_application/deploy_heim_application/deploy_heim_application_to_cloud. This manipulation causes os command injection. The attack requires local access. The exploit has been publicly disclosed and may be utilized. Patch name: c321d8af25f77668781e6ccb43a1336f9185df37. It is suggested to install a patch to address this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@nor2/heim-mcp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-5602"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Nor2-io/heim-mcp/issues/1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Nor2-io/heim-mcp/pull/2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Nor2-io/heim-mcp/commit/c321d8af25f77668781e6ccb43a1336f9185df37"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Nor2-io/heim-mcp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/user-attachments/files/25889482/heim-mcp_bug.pdf"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/784862"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/355394"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/355394/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-06T18:01:48Z",
    "nvd_published_at" : "2026-04-05T23:16:19Z"
  }
}