CVE-2026-94046

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

State
Published
Severity
5.3 Medium
Published
Sep 20, 2026
Updated
Sep 21, 2026
Reserved
Sep 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:PVulDB
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:RVulDB
3.04.3 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:RVulDB
2.04.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:URVulDB

Weaknesses

Affected Products

ProductVersions
ACE-MCP0215AndrewFeng
  • 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

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.