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-7272

CVE-2026-7272: matlab-mcp-server Path Traversal Flaw

CVE-2026-7272 is a path traversal vulnerability in WilliamCloudQi matlab-mcp-server affecting the MCP Interface component. Attackers can remotely exploit this flaw via scriptPath manipulation. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 30, 2026

CVE-2026-7272 Overview

A path traversal vulnerability has been identified in WilliamCloudQi matlab-mcp-server affecting versions up to commit ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca. The vulnerability exists within the generate_matlab_code/execute_matlab_code functions in the src/index.ts file of the MCP Interface component. By manipulating the scriptPath argument, an attacker can traverse directory paths and potentially access or execute files outside the intended directory scope.

Critical Impact

Remote attackers can exploit the path traversal vulnerability to access files outside the intended directory, potentially leading to information disclosure or unauthorized code execution through the MCP Interface.

Affected Products

  • WilliamCloudQi matlab-mcp-server up to commit ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca

Discovery Timeline

  • 2026-04-28 - CVE CVE-2026-7272 published to NVD
  • 2026-04-29 - Last updated in NVD database

Technical Details for CVE-2026-7272

Vulnerability Analysis

This path traversal vulnerability (CWE-22) affects the MCP (Model Context Protocol) Interface component of the matlab-mcp-server project. The vulnerability allows remote attackers to bypass intended path restrictions by injecting directory traversal sequences (such as ../) into the scriptPath parameter. When the vulnerable functions generate_matlab_code or execute_matlab_code in src/index.ts process user-supplied input without proper validation, attackers can reference files and directories outside the application's root directory.

The MCP Interface is designed to facilitate interaction between MATLAB and external systems, making it a critical component. The lack of proper input sanitization on the scriptPath argument means that any user with network access to the service can potentially read arbitrary files from the server or execute MATLAB scripts from unintended locations. An exploit for this vulnerability has been published and may be actively used.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and sanitization of the scriptPath parameter within the generate_matlab_code and execute_matlab_code functions. The application fails to properly canonicalize or validate the supplied path, allowing directory traversal sequences to be processed. This design flaw enables attackers to escape the intended working directory by using relative path components like ../ to navigate the file system hierarchy.

Attack Vector

The attack can be executed remotely over the network without requiring authentication or user interaction. An attacker sends a crafted request to the MCP Interface with a malicious scriptPath parameter containing directory traversal sequences. The vulnerable endpoint processes this input and may access or execute files outside the intended directory structure.

For example, an attacker could supply a path like ../../etc/passwd or ../../sensitive/script.m to access files outside the intended MATLAB scripts directory. The vulnerability mechanism involves manipulating the path argument to traverse parent directories and reach arbitrary locations on the file system. Technical details and proof-of-concept information can be found in the GitHub Issue Report.

Detection Methods for CVE-2026-7272

Indicators of Compromise

  • HTTP requests to the MCP Interface containing path traversal sequences such as ../, ..%2f, or %2e%2e/ in the scriptPath parameter
  • Unusual file access attempts in application logs referencing directories outside the MATLAB scripts root
  • Error messages indicating file not found or access denied for paths that should not be accessible through the interface

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing directory traversal patterns in URL parameters
  • Monitor application logs for anomalous path references, particularly those containing .. sequences or attempting to access system files
  • Deploy SentinelOne endpoint detection to identify suspicious file system access patterns originating from the matlab-mcp-server process

Monitoring Recommendations

  • Enable detailed logging for the MCP Interface component to capture all incoming requests and their parameters
  • Set up alerts for any requests to the vulnerable endpoints that contain path manipulation characters
  • Monitor file system access by the matlab-mcp-server process for reads or executions outside designated directories

How to Mitigate CVE-2026-7272

Immediate Actions Required

  • Disable or restrict network access to the matlab-mcp-server MCP Interface until a patch is available
  • Implement network segmentation to limit access to the affected service from untrusted networks
  • Review and audit access logs for any evidence of exploitation attempts

Patch Information

At the time of publication, the project maintainers have been informed of the vulnerability through an issue report but have not yet responded. Users should monitor the matlab-mcp-server GitHub repository for updates and security patches. Additional details are available in the VulDB Vulnerability Listing.

Workarounds

  • Implement a reverse proxy with path filtering to reject requests containing directory traversal sequences before they reach the application
  • Apply file system permissions to restrict the matlab-mcp-server process to only access necessary directories
  • Consider running the service in a containerized or sandboxed environment to limit the impact of successful exploitation
bash
# Example: Using nginx as a reverse proxy to filter malicious paths
# Add to nginx server configuration
location /mcp {
    if ($request_uri ~* "\.\.") {
        return 403;
    }
    proxy_pass http://localhost:3000;
}

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechWilliamcloudqi

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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 Report

  • GitHub Project Repository

  • GitHub Issue Report

  • VulDB Submission

  • VulDB Vulnerability Listing

  • VulDB CTI Details
  • 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