Vulnerabilities in pkg:npm/mcp-server-semgrep
PACKAGECVE-2026-7446 is a MODERATE (CVSS 7.3) mcp-server-semgrep has a command injection vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Mcp server semgrep libraries in the npm ecosystem. The issue involves mcp-server-semgrep has a command injection issue. Remediation is available by upgrading affected packages to version 1.0.1.
pkg:npm/mcp-server-semgrep
Vulnerability advisories affecting package pkg:npm/mcp-server-semgrep. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-86hp-qxqp-w9wv | CVE-2026-7446 | MODERATE | mcp-server-semgrep has a Command Injection issue |
CVE-2026-7446 at a Glance
Security Impact
CVSS: 7.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2026-7446
To remediate this vulnerability, upgrade all affected Mcp server semgrep dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install mcp-server-semgrep@1.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mcp-server-semgrep
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-7446, inspect your project dependencies using npm:
npm ls mcp-server-semgrep
Analyze the terminal output to locate any version of Mcp server semgrep in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1), your application is affected.
Note: The npm ls mcp-server-semgrep 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 Mcp server semgrep, 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
CVE-2026-7446 Affected Mcp server semgrep Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mcp-server-semgrep
|
npm |
< 1.0.1
|
1.0.1
|
References
Frequently Asked Questions
What is CVE-2026-7446?
Which Mcp server semgrep versions are affected?
What version fixes CVE-2026-7446?
Is mcp-server-semgrep affected?
What is the CVSS score of CVE-2026-7446?
What CWE is associated with CVE-2026-7446?
How can I check npm dependencies for CVE-2026-7446?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-86hp-qxqp-w9wv",
"modified" : "2026-05-06T23:28:35Z",
"published" : "2026-04-30T00:31:22Z",
"aliases" : [ "CVE-2026-7446" ],
"summary" : "mcp-server-semgrep has a Command Injection issue",
"details" : "A vulnerability was detected in VetCoders mcp-server-semgrep 1.0.0. This affects the function analyze_results/filter_results/export_results/compare_results/scan_directory/create_rule of the file src/index.ts of the component MCP Interface. The manipulation of the argument ID results in os command injection. The attack can be executed remotely. The exploit is now public and may be used. Upgrading to version 1.0.1 is able to mitigate this issue. The patch is identified as 141335da044e53c3f5b315e0386e01238405b771. It is advisable to upgrade the affected component.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mcp-server-semgrep"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.0"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-7446"
}, {
"type" : "WEB",
"url" : "https://github.com/VetCoders/mcp-server-semgrep/issues/12"
}, {
"type" : "WEB",
"url" : "https://github.com/VetCoders/mcp-server-semgrep/pull/15"
}, {
"type" : "WEB",
"url" : "https://github.com/VetCoders/mcp-server-semgrep/commit/141335da044e53c3f5b315e0386e01238405b771"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/VetCoders/mcp-server-semgrep"
}, {
"type" : "WEB",
"url" : "https://github.com/VetCoders/mcp-server-semgrep/releases/tag/v1.0.1"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/submit/804100"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/360187"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/vuln/360187/cti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T23:28:35Z",
"nvd_published_at" : "2026-04-30T00:16:23Z"
}
}