CVE-2026-7272 WilliamCloudQi matlab-mcp-server MCP index.ts execute_matlab_code path traversal

Medium 6.9 Published Updated

Remote attackers can exploit path traversal in the MATLAB MCP server to read or modify arbitrary files via the scriptPath argument.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7272?

CVE-2026-7272 is a medium-severity path traversal vulnerability in WilliamCloudQi matlab-mcp-server, published on 28 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw has been found in WilliamCloudQi matlab-mcp-server up to ab88f6b9bf5f36f725e8628029f7f6dd0d9913ca. The affected element is the function generate_matlab_code/execute_matlab_code of the file src/index.ts of the component MCP Interface. Executing a manipulation of the argument scriptPath can lead to path traversal. The attack can be executed remotely. The exploit has been published and may be used. 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-7272?

How do I fix CVE-2026-7272?

No fix has been published for CVE-2026-7272 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-7272 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7272 exists.

Sources

Also known as GHSA-43hp-p5fg-gfxc.

Is CVE-2026-7272 in your software?

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

Check your SBOMs for free