CVE-2026-7038 tufantunc ssh-mcp Command Line index.ts insufficiently protected credentials

Medium 4.8 Published Updated

Local attackers can access insufficiently protected credentials in the ssh-mcp command line handler, potentially compromising SSH access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7038?

CVE-2026-7038 is a medium-severity vulnerability in tufantunc ssh-mcp, published on 26 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A weakness has been identified in tufantunc ssh-mcp up to 1.5.0. Impacted is an unknown function of the file src/index.ts of the component Command Line Handler. This manipulation causes insufficiently protected credentials. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-522

Which versions are affected by CVE-2026-7038?

How do I fix CVE-2026-7038?

No fix has been published for CVE-2026-7038 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-7038 being exploited?

There is no known exploitation of CVE-2026-7038 in the wild and no public exploit code.

Sources

Also known as GHSA-fr84-p27r-73vj.

Is CVE-2026-7038 in your software?

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

Check your SBOMs for free