Sceawere
Vulnerability Detail
CVE-2026-19370UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
Path Traversal in new-mcp
Vulnerability Metadata
- Severity
- Medium
- Score / CVSS
- 5.3
- Creation Date
- 2h ago
- Vendor
- bartekke8it56w2
- Product
- new-mcp
- Attack Type
- Path Traversal
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Attack Complexity
- LOW
Narrative and Response
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.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "5.3",
"pubDate": "2026-08-09T22:16:31.393Z",
"pubdate": "2026-08-09T22:16:31.393Z",
"executiveSummary": "A path traversal vulnerability has been identified in the bartekke8it56w2 new-mcp component, specifically affecting the geminithinking module within the index.ts file. The vulnerability stems from insecure handling of input arguments supplied to file system operations, namely fs.writeFileSync, fs.existsSync, and fs.readFileSync.\nThis security flaw allows an actor with local access to manipulate the sessionCommand or sessionPath parameters, enabling unauthorized traversal outside of the intended directory structure. Depending on the privileges of the executing process, an attacker could potentially read, write, or overwrite arbitrary files on the underlying filesystem.\nThe risk implications include potential unauthorized data access, system integrity compromise, or local privilege escalation via manipulation of critical configuration or execution files. The attack requires local access to the target system to supply malicious path arguments to the vulnerable functions.\nThe vendor or project maintainers were notified early via an issue report but have not yet provided a response or official patch. Consequently, systems utilizing the affected version remain exposed unless compensatory manual controls are implemented.",
"technicalDetails": "The root cause of the vulnerability lies in the lack of proper input sanitization, validation, and canonicalization of user-supplied arguments before they are passed into native Node.js file system APIs.\nSpecifically, the vulnerable component geminithinking utilizes functions such as fs.writeFileSync, fs.existsSync, and fs.readFileSync within the index.ts file. These functions process parameters designated as sessionCommand or sessionPath.\nBecause the application directly consumes these arguments without verifying whether the resulting file path resolves within the intended operational directory, an attacker can supply sequences such as directory traversal notations (e.g., ../) to access parent directories.\nThe attack flow proceeds as follows: First, the local adversary interacts with the application interface or configuration mechanism that populates the sessionCommand or sessionPath parameters. Second, the adversary crafts a malicious payload incorporating relative path traversal sequences targeting sensitive system files or application directories. Third, the application forwards the unsanitized path directly to the Node.js file system methods (fs.readFileSync, fs.writeFileSync, or fs.existsSync). Fourth, the underlying operating system resolves the traversal sequences, granting the process read or write access to the targeted filesystem location outside the security boundary.\nThe vulnerability affects version 0.1.0 of the bartekke8it56w2 new-mcp product. Exploitation requires local access to the host environment where the component is executed. Authentication requirements and network exposure depend on the broader architecture of the host application, but the direct file system manipulation vector requires local execution context or local parameter injection capabilities.\nPost-exploitation impact includes the potential exposure of sensitive local files via read operations, or the modification, corruption, or creation of arbitrary files via write operations, which could lead to further local compromise or denial of service."
}