# CVE-2026-7446: VetCoders mcp-server-semgrep MCP index.ts create\_rule os command injection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.18% (percentile 83, 2026-11-26)
- **CWE:** CWE-78, CWE-77
- **Aliases:** GHSA-86hp-qxqp-w9wv
- **Published:** 2026-04-30T00:00:20.595Z
- **Modified:** 2026-10-26T20:10:00.160Z

## Who should check

- Projects that depend on npm package mcp-server-semgrep (\< 1.0.1)
- Anyone running VetCoders mcp-server-semgrep 1.0.0

## Description

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.

## Affected and fixed versions

- npm `mcp-server-semgrep`: affected \< 1.0.1; fixed 1.0.1 (osv)
- VetCoders mcp-server-semgrep: 1.0.0 (cvelist)

## Mitigation

- Upgrade mcp-server-semgrep to 1.0.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-7446. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-7446.md
Affected: mcp-server-semgrep < 1.0.1
Fixed in: 1.0.1

Steps:
1. Search this machine and project for mcp-server-semgrep (npm), VetCoders mcp-server-semgrep: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-7446 being exploited?

There is no confirmed exploitation: CVE-2026-7446 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 2.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-7446?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-7446?

mcp-server-semgrep \< 1.0.1.

### Is there a fix for CVE-2026-7446?

Yes. Fixed in 1.0.1. Upgrade mcp-server-semgrep to 1.0.1 or later.

### How do I check if I'm affected by CVE-2026-7446?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-7446>
- patch: <https://github.com/VetCoders/mcp-server-semgrep/pull/15>
- patch: <https://github.com/VetCoders/mcp-server-semgrep/commit/141335da044e53c3f5b315e0386e01238405b771>
- patch: <https://github.com/VetCoders/mcp-server-semgrep/releases/tag/v1.0.1>
- exploit: <https://github.com/VetCoders/mcp-server-semgrep/issues/12>
- article: <https://vuldb.com/vuln/360187>
- other: <https://vuldb.com/vuln/360187/cti>
- other: <https://vuldb.com/submit/804100>
- other: <https://github.com/VetCoders/mcp-server-semgrep/>
- other: <https://github.com/VetCoders/mcp-server-semgrep>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-7446>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-86hp-qxqp-w9wv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-7446> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-7446>
