CVE-2026-19370 bartekke8it56w2 new-mcp geminithinking index.ts fs.readFileSync path traversal

Medium 4.8 Published Updated

Local attackers can exploit path traversal in the geminithinking component to read or modify arbitrary files via session arguments.

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-19370?

CVE-2026-19370 is a medium-severity path traversal vulnerability in bartekke8it56w2 new-mcp, published on 9 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was determined in bartekke8it56w2 new-mcp 0.1.0. This impacts the function fs.writeFileSync/fs.existsSync/fs.readFileSync of the file index.ts of the component geminithinking. This manipulation of the argument sessionCommand/sessionPath causes path traversal. The attack requires local access. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-22

Which versions are affected by CVE-2026-19370?

How do I fix CVE-2026-19370?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-19370 being exploited?

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

Sources

Also known as GHSA-w5g7-c885-pm69.

Is CVE-2026-19370 in your software?

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

Check your SBOMs for free