Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-94046

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

0215AndrewFeng ACE-MCP

  • 4.10.0affected
  • 4.10.1affected
  • 4.10.2affected
  • 4.10.3affected
  • 4.10.4affected
  • 4.10.5affected
  • 4.10.6affected
  • 4.10.7affected
  • 4.10.8affected

References