2026-09-20 18:45CVE-2026-94046VulDB
PUBLISHED5.2ApplicationCWE-22

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

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.

Problem type

Affected products

0215AndrewFeng

ACE-MCP

4.10.0 - AFFECTED

4.10.1 - AFFECTED

4.10.2 - AFFECTED

4.10.3 - AFFECTED

4.10.4 - AFFECTED

4.10.5 - AFFECTED

4.10.6 - AFFECTED

4.10.7 - AFFECTED

4.10.8 - AFFECTED

References

GitHub Security Advisories

GHSA-8wj2-8g8v-vcxr

A weakness has been identified in 0215AndrewFeng ACE-MCP up to 4.10.8. The affected element is...

https://github.com/advisories/GHSA-8wj2-8g8v-vcxr

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-94046
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-94046",
    "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
    "assignerShortName": "VulDB",
    "dateUpdated": "2026-09-20T18:45:09.014Z",
    "dateReserved": "2026-09-19T21:43:58.494Z",
    "datePublished": "2026-09-20T18:45:09.014Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "shortName": "VulDB",
        "dateUpdated": "2026-09-20T18:45:09.014Z"
      },
      "title": "0215AndrewFeng ACE-MCP MCP Tool getFileSnippet.ts get_file_snippet path traversal",
      "descriptions": [
        {
          "lang": "en",
          "value": "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": [
        {
          "vendor": "0215AndrewFeng",
          "product": "ACE-MCP",
          "cpes": [
            "cpe:2.3:a:0215andrewfeng:ace-mcp:*:*:*:*:*:*:*:*"
          ],
          "modules": [
            "MCP Tool"
          ],
          "versions": [
            {
              "version": "4.10.0",
              "status": "affected"
            },
            {
              "version": "4.10.1",
              "status": "affected"
            },
            {
              "version": "4.10.2",
              "status": "affected"
            },
            {
              "version": "4.10.3",
              "status": "affected"
            },
            {
              "version": "4.10.4",
              "status": "affected"
            },
            {
              "version": "4.10.5",
              "status": "affected"
            },
            {
              "version": "4.10.6",
              "status": "affected"
            },
            {
              "version": "4.10.7",
              "status": "affected"
            },
            {
              "version": "4.10.8",
              "status": "affected"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "Path Traversal",
              "cweId": "CWE-22",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://vuldb.com/vuln/407975",
          "name": "VDB-407975 | 0215AndrewFeng ACE-MCP MCP Tool getFileSnippet.ts get_file_snippet path traversal",
          "tags": [
            "vdb-entry",
            "technical-description"
          ]
        },
        {
          "url": "https://vuldb.com/vuln/407975/cti",
          "name": "VDB-407975 | CTI Indicators (IOB, IOC, TTP, IOA)",
          "tags": [
            "signature",
            "permissions-required"
          ]
        },
        {
          "url": "https://vuldb.com/cve/CVE-2026-94046",
          "name": "CVE-2026-94046 | CVE Analysis and Report",
          "tags": [
            "third-party-advisory"
          ]
        },
        {
          "url": "https://vuldb.com/submit/949256",
          "name": "Submit #949256 | 0215AndrewFeng ACE-MCP 4.10.8 Path Traversal",
          "tags": [
            "third-party-advisory"
          ]
        },
        {
          "url": "https://github.com/0215AndrewFeng/ACE-MCP/issues/1",
          "tags": [
            "issue-tracking"
          ]
        },
        {
          "url": "https://github.com/Xh1Xxhg/public_exp/issues/3",
          "tags": [
            "exploit",
            "issue-tracking"
          ]
        },
        {
          "url": "https://github.com/0215AndrewFeng/ACE-MCP/",
          "tags": [
            "product"
          ]
        }
      ],
      "metrics": [
        {},
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM"
          }
        },
        {
          "cvssV3_0": {
            "version": "3.0",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R",
            "baseScore": 4.3,
            "baseSeverity": "MEDIUM"
          }
        },
        {
          "cvssV2_0": {
            "version": "2.0",
            "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR",
            "baseScore": 4
          }
        }
      ],
      "timeline": [
        {
          "time": "2026-09-19T00:00:00.000Z",
          "lang": "en",
          "value": "Advisory disclosed"
        },
        {
          "time": "2026-09-19T02:00:00.000Z",
          "lang": "en",
          "value": "VulDB entry created"
        },
        {
          "time": "2026-09-19T23:49:18.000Z",
          "lang": "en",
          "value": "VulDB entry last update"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Xh1Xxhg (VulDB User)",
          "type": "reporter"
        },
        {
          "lang": "en",
          "value": "VulDB CNA Team",
          "type": "coordinator"
        }
      ]
    }
  }
}