Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-66689

A path traversal vulnerability exists in Zen MCP Server before 9.8.2 that allows authenticated attackers to read arbitrary files on the system. The vulnerability is caused by flawed logic in the is_dangerous_path() validation function that uses exact string matching against a blacklist of system directories. Attackers can bypass these restrictions by accessing subdirectories of blacklisted paths.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-66689
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:37 UTC · Revision 1

Source evidence

CVE-2025-66689

core-osv · Original source

Published 12 Jan 2026, 00:00 UTC

A path traversal vulnerability exists in Zen MCP Server before 9.8.2 that allows authenticated attackers to read arbitrary files on the system. The vulnerability is caused by flawed logic in the is_dangerous_path() validation function that uses exact string matching against a blacklist of system directories. Attackers can bypass these restrictions by accessing subdirectories of blacklisted paths.

osv:CVE-2025-66689
Complete source record
{
  "id": "164a86608761476b96af265ec8022c20f3165b5bc54e28645c2956a26e1488da",
  "url": "https://osv.dev/vulnerability/CVE-2025-66689",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-66689",
    "summary": "A path traversal vulnerability exists in Zen MCP Server before 9.8.2 that allows authenticated attackers to read arbitrary files on the system. The vulnerability is caused by flawed logic in the is_dangerous_path() validation function that uses exact string matching against a blacklist of system directories. Attackers can bypass these restrictions by accessing subdirectories of blacklisted paths.",
    "evidence": "osv:CVE-2025-66689",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-66689",
      "aliases": [
        "CVE-2025-66689"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/BeehiveInnovations/pal-mcp-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fa78edca0b6bc04ab00ddf5694d855f1b946b87d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.8.2"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "cpe": "cpe:2.3:a:busymac:pal_mcp_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.8.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.8.1",
            "v9.8.0",
            "v9.7.0",
            "v9.6.0",
            "v9.5.0",
            "v9.4.2",
            "v9.4.1",
            "v9.4.0",
            "v9.3.1",
            "v9.2.1",
            "v9.2.0",
            "v9.1.4",
            "v9.1.3",
            "v9.1.1",
            "v9.0.4",
            "v9.0.0",
            "v8.0.2",
            "v8.0.1",
            "v8.0.0",
            "v7.8.0",
            "v7.7.0",
            "v7.6.0",
            "v7.5.2",
            "v7.4.0",
            "v7.2.0",
            "v7.1.1",
            "v7.1.0",
            "v7.0.2",
            "v6.1.0",
            "v6.0.0",
            "v5.22.0",
            "v5.17.4",
            "v5.17.0",
            "v5.16.0",
            "v5.15.0",
            "v5.14.0",
            "v5.13.0",
            "v5.12.0",
            "v5.11.2",
            "v5.11.1",
            "v5.11.0",
            "v5.10.3",
            "v5.10.2",
            "v5.10.1",
            "v5.10.0",
            "v5.9.0",
            "v5.8.6",
            "v1.1.0",
            "v5.8.5"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66689.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.165674901Z",
      "provider": "osv",
      "references": [
        "https://github.com/Team-Off-course/MCP-Server-Vuln-Analysis/blob/main/CVE-2025-66689.md",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66689.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-66689",
        "https://github.com/BeehiveInnovations/zen-mcp-server/issues/293"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66689.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-66689",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505761,
  "published_at": "2026-01-12T00:00:00+00:00"
}