Description
markdownify-mcp before 1.2.0 contains a path traversal vulnerability in isWithinDirectory() that allows attackers to bypass MD_ALLOWED_PATHS and MD_SHARE_DIR restrictions. Attackers invoking local-file conversion tools directly or via prompt injection can target sibling directories sharing an allowed prefix to read files outside the allowlist.
Published: 2026-12-01
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Dec 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Zcaceres
Zcaceres markdownify-mcp
Vendors & Products Zcaceres
Zcaceres markdownify-mcp

Wed, 02 Dec 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Dec 2026 16:00:00 +0000

Type Values Removed Values Added
Description markdownify-mcp before 1.2.0 contains a path traversal vulnerability in isWithinDirectory() that allows attackers to bypass MD_ALLOWED_PATHS and MD_SHARE_DIR restrictions. Attackers invoking local-file conversion tools directly or via prompt injection can target sibling directories sharing an allowed prefix to read files outside the allowlist.
Title markdownify-mcp before 1.2.0 Path Allowlist Bypass via isWithinDirectory Prefix Match
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Zcaceres Markdownify-mcp
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-01T22:12:58.583Z

Reserved: 2026-12-01T03:12:50.458Z

Link: CVE-2026-140424

cve-icon Vulnrichment

Updated: 2026-12-01T22:12:54.727Z

cve-icon NVD

Status : Received

Published: 2026-12-01T16:18:21.130

Modified: 2026-12-01T23:17:41.380

Link: CVE-2026-140424

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-03T00:30:22Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')