Skip to content
MediumVulnerability

CVE-2026-19370: new-mcp path traversal in index.ts file operations via sessionPath

Identifier
CVE-2026-19370
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

A vulnerability in bartekke8it56w2 new-mcp 0.1.0, tracked as CVE-2026-19370, affects the fs.writeFileSync, fs.existsSync and fs.readFileSync calls in index.ts of the geminithinking component. Manipulating the sessionCommand or sessionPath argument causes path traversal (CWE-22). The attack requires local access, and VulDB rates it CVSS 4.0 LOW.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.