CVE-2026-7446: mcp-server-semgrep has a Command Injection issue
A vulnerability was detected in VetCoders mcp-server-semgrep 1.0.0. This affects the function analyzeresults/filterresults/exportresults/compareresults/scandirectory/createrule 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.
Published Apr 30, 2026 · Updated May 6, 2026
Affected packages
mcp-server-semgrep
- Ecosystem
- npm
- Affected
- <= 1.0.0
- Fixed in
- 1.0.1
- Check
npm ls mcp-server-semgrep
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-7446
- 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
- https://github.com/VetCoders/mcp-server-semgrep/releases/tag/v1.0.1
- https://vuldb.com/submit/804100
- https://vuldb.com/vuln/360187
- https://vuldb.com/vuln/360187/cti
- https://github.com/advisories/GHSA-86hp-qxqp-w9wv
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-77361
obsidian-tc : Symlink read-ACL scope bypass via lexical path checks
medium4.7Oct 23, 2026CVE-2026-114126
Storybook dev server vulnerable to code injection from the local network
high8.7Oct 22, 2026CVE-2026-113731
djust: Arbitrary absolute-path file read in the find_handlers_for_template MCP tool
low3.3Oct 21, 2026CVE-2026-114125
Storybook: Missing origin validation in Storybook preview allows code injection from malicious websites
critical9.4Oct 21, 2026CVE-2026-111770
MCP TypeScript server SDK: Shared transport or server instances delivered one HTTP client's messages to another
high7.7Oct 20, 2026GHSA-953h-535j-jg2v
agent-router: MCP session resume does not verify the embedded anti-hijacking subject; default Helm seed makes session IDs forgeable
medium6.8Oct 19, 2026
