CVE-2026-94046 Details
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.
A path traversal vulnerability has been identified in ACE-MCP versions through 4.10.8. The issue arises in the MCP Tool function 'get_file_snippet', located in 'getFileSnippet.ts'. The vulnerability allows for arbitrary file reads by manipulating the 'projectRootPath' and 'filePath' arguments. The function resolves these arguments into absolute paths without proper validation, enabling access to files outside of intended project boundaries. This flaw could be exploited remotely, potentially exposing sensitive information from the server's filesystem.
To address this vulnerability, it is recommended to validate and sanitize the 'projectRootPath' and 'filePath' inputs. Implement checks to ensure that 'projectRootPath' does not point to an untrusted directory and that 'filePath' does not traverse outside of the intended project root. Additionally, consider running the server with restricted filesystem permissions to limit access to sensitive files.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 20, 2026CISA-ADP
Assessed Sep 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/0215AndrewFeng/ACE-MCP/ | [email protected] | ProductSource CodeVendor |
| https://github.com/0215AndrewFeng/ACE-MCP/issues/1 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/Xh1Xxhg/public_exp/issues/3 | [email protected] | ExploitIssue TrackingTechnical Description |
| https://vuldb.com/cve/CVE-2026-94046 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/949256 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/407975 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/407975/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| 0215AndrewFeng ACE-MCP | <= 4.10.8 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 21, 2026 | CVE Modified | CISA-ADP |
| Sep 20, 2026 | New CVE Received | [email protected] |
Volerion