Skip to content
MediumVulnerability

CVE-2026-94046: 0215AndrewFeng ACE-MCP path traversal in get_file_snippet via projectRootPath

Identifier
CVE-2026-94046
Published
Record updated
View JSON

Summary

CVE-2026-94046 is a path traversal weakness in 0215AndrewFeng ACE-MCP up to 4.10.8, in the get_file_snippet function of getFileSnippet.ts within the MCP Tool component. The isPathInsideProjectRoot check only stops filePath from escaping projectRootPath, and projectRootPath is untrusted client input, so setting projectRootPath=/etc and filePath=hosts passes the guard. The attack can be launched remotely, and a public exploit exists.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.