Skip to content

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

MediumCVSS 5.3 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
0215andrewfeng ace-mcp = 4.10.0; = 4.10.1; = 4.10.2; = 4.10.3 +5 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
0215andrewfeng ace-mcp = 4.10.0 No fix listed
0215andrewfeng ace-mcp = 4.10.1 No fix listed
0215andrewfeng ace-mcp = 4.10.2 No fix listed
0215andrewfeng ace-mcp = 4.10.3 No fix listed
0215andrewfeng ace-mcp = 4.10.4 No fix listed
0215andrewfeng ace-mcp = 4.10.5 No fix listed
0215andrewfeng ace-mcp = 4.10.6 No fix listed
0215andrewfeng ace-mcp = 4.10.7 No fix listed
0215andrewfeng ace-mcp = 4.10.8 No fix listed

References