CVE-2026-7446 VetCoders mcp-server-semgrep MCP index.ts create_rule os command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary OS commands via the create_rule function in the VetCoders mcp-server-semgrep library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-7446?

CVE-2026-7446 is a medium-severity command injection vulnerability in VetCoders mcp-server-semgrep, published on 30 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-7446?

2 open source packages ship an affected version, including mcp-server-semgrep.

PackageAffectedFixed in
mcp-server-semgrep npmAll versions1.0.1
mcp-server-semgrep npmAll versions1.0.1

How do I fix CVE-2026-7446?

Upgrade mcp-server-semgrep to 1.0.1 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-7446 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7446 exists.

Sources

Also known as GHSA-86hp-qxqp-w9wv.

Is CVE-2026-7446 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free