CVE-2026-7446VetCoders mcp-server-semgrep MCP index.ts create_rule os command injection
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | mcp-server-semgrep | Fixed | 1.0.1 | GHSA-86hp-qxqp-w9wv |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- VetCoders mcp-server-semgrep: affected: 1.0.0, 1.0.1 not affected
Vendor advisories:
- https://github.com/VetCoders/mcp-server-semgrep/pull/15 (patch)
- https://github.com/VetCoders/mcp-server-semgrep/commit/141335da044e53c3f5b315e0386e012384… (patch)
- https://github.com/VetCoders/mcp-server-semgrep/releases/tag/v1.0.1 (patch)
References
- https://vuldb.com/vuln/360187
- https://vuldb.com/vuln/360187/cti
- https://vuldb.com/submit/804100
- https://github.com/VetCoders/mcp-server-semgrep/issues/12
- https://github.com/VetCoders/mcp-server-semgrep/pull/15
- https://github.com/VetCoders/mcp-server-semgrep/commit/141335da044e53c3f5b315e0386e01238405b771
- https://github.com/VetCoders/mcp-server-semgrep/releases/tag/v1.0.1
- https://github.com/VetCoders/mcp-server-semgrep/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.