CVE-2026-94046 0215AndrewFeng ACE-MCP MCP Tool getFileSnippet.ts get_file_snippet path traversal

Medium 5.3 Published Updated

Attackers can read arbitrary files by manipulating path arguments in the get_file_snippet function of the ACE-MCP library.

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

What is CVE-2026-94046?

CVE-2026-94046 is a medium-severity path traversal vulnerability in 0215AndrewFeng ACE-MCP, published on 20 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A weakness has been identified in 0215AndrewFeng ACE-MCP up to 4.10.8. The affected element is the function get_file_snippet of the file getFileSnippet.ts of the component MCP Tool. Executing a manipulation of the argument projectRootPath/filePath can lead to path traversal. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. isPathInsideProjectRoot only blocks filePath escaping the attacker-chosen projectRootPath; the root itself is untrusted client input - set projectRootPath=/etc, filePath=hosts and the guard passes. 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-94046?

How do I fix CVE-2026-94046?

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

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

Sources

Also known as GHSA-8wj2-8g8v-vcxr.

Is CVE-2026-94046 in your software?

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

Check your SBOMs for free