The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-7738

CVE-2026-7738: doc-tools-mcp Path Traversal Vulnerability

CVE-2026-7738 is a path traversal vulnerability in puchunjie doc-tools-mcp 1.0.18 affecting the MCP Interface. Attackers can exploit this remotely via filePath manipulation. This article covers technical details, impact, and mitigation.

Published: May 7, 2026

CVE-2026-7738 Overview

CVE-2026-7738 is a path traversal vulnerability [CWE-22] in puchunjie doc-tools-mcp version 1.0.18. The flaw resides in the create_document and open_document functions inside src/mcp-server.ts, part of the MCP Interface component. Manipulating the filePath argument allows an attacker to traverse outside the intended directory. The attack is launched remotely and requires low privileges. A public exploit has been released, and the project maintainers have not responded to the issue report.

Critical Impact

Remote attackers with low-privileged access to the MCP interface can read or write files outside the intended document directory by supplying crafted filePath values.

Affected Products

  • puchunjie doc-tools-mcp 1.0.18
  • Component: MCP Interface (src/mcp-server.ts)
  • Functions: create_document and open_document

Discovery Timeline

  • 2026-05-04 - CVE-2026-7738 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-7738

Vulnerability Analysis

The vulnerability stems from insufficient validation of the filePath argument passed to the create_document and open_document functions in src/mcp-server.ts. The MCP (Model Context Protocol) interface accepts file path inputs and passes them to filesystem operations without normalizing or restricting traversal sequences such as ../. An attacker can supply a path that resolves outside the intended document directory.

Because the MCP server is reachable over the network, exploitation does not require local access. The attacker only needs the low-privileged ability to invoke the affected MCP tool methods. Successful exploitation allows arbitrary file read through open_document and arbitrary file creation or overwrite through create_document.

Root Cause

The root cause is missing path canonicalization and absent allowlist enforcement against a base directory. The functions trust caller-supplied filePath values and resolve them directly through Node.js filesystem APIs. Sequences such as ../../etc/passwd or absolute paths bypass any intended scoping.

Attack Vector

An attacker invokes the MCP tool functions over the network, supplying a crafted filePath parameter containing directory traversal sequences. The server resolves the path relative to its working directory and performs the requested read or write. No verified exploit code has been published for inclusion here. See the GitHub Issue #38 and VulDB #360913 for technical details.

Detection Methods for CVE-2026-7738

Indicators of Compromise

  • MCP request payloads to create_document or open_document containing ../, ..\, or absolute path prefixes in the filePath argument.
  • File creation or modification events outside the configured document working directory of the doc-tools-mcp process.
  • Unexpected reads of sensitive files such as /etc/passwd, SSH keys, or configuration files by the Node.js process running doc-tools-mcp.

Detection Strategies

  • Inspect MCP server logs for filePath arguments containing traversal sequences or absolute paths and alert on matches.
  • Monitor process-level filesystem telemetry for the doc-tools-mcp Node.js process accessing paths outside its intended document directory.
  • Correlate network connections to the MCP listener port with subsequent anomalous file operations on the host.

Monitoring Recommendations

  • Enable verbose logging of all MCP tool invocations including the full argument list for create_document and open_document.
  • Apply file integrity monitoring to system directories that the MCP server should never touch.
  • Forward host and application logs to a centralized analytics platform to enable retroactive hunting once new indicators are released.

How to Mitigate CVE-2026-7738

Immediate Actions Required

  • Restrict network exposure of the doc-tools-mcp server so it is reachable only from trusted local clients or authenticated MCP hosts.
  • Run the MCP server under a dedicated low-privilege user account with filesystem access limited to the intended document directory.
  • Audit the host for unauthorized files written through the affected functions and review recent access to sensitive files.

Patch Information

No vendor patch is available at the time of publication. The project was notified through an issue report but has not responded. Track the project repository and GitHub Issue #4 for fix status.

Workarounds

  • Apply a local patch in src/mcp-server.ts that resolves the supplied filePath with path.resolve and rejects any result that does not begin with an approved base directory.
  • Reject any filePath argument containing .., null bytes, or absolute path prefixes before invoking filesystem APIs.
  • Place the MCP server inside a container or sandbox with a read-only root filesystem and a single bind-mounted document directory.
bash
# Configuration example: run doc-tools-mcp in a constrained container
docker run --rm \
  --read-only \
  --user 1000:1000 \
  --network none \
  -v /srv/docs:/app/docs:rw \
  -p 127.0.0.1:3000:3000 \
  doc-tools-mcp:1.0.18

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechPuchunjie

  • SeverityLOW

  • CVSS Score2.1

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Issue #38

  • GitHub Repository

  • GitHub Issue #4

  • VulDB Submission #807642

  • VulDB #360913

  • VulDB #360913 CTI
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English