CVE-2026-140424

Source
https://cve.org/CVERecord?id=CVE-2026-140424
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140424.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-140424
Aliases
  • GHSA-wp59-q6fv-34rx
Published
2026-12-01T15:43:56Z
Modified
2026-12-01T23:45:41Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
markdownify-mcp before 1.2.0 Path Allowlist Bypass via isWithinDirectory Prefix Match
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140424.json"
}
References

Affected packages

Git / github.com/zcaceres/markdownify-mcp

Affected ranges

Type
GIT
Repo
https://github.com/zcaceres/markdownify-mcp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.2.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "f7bc9752a30cd154a59c4015d74de786cd02a0e9"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.2.0",
            "range":  [
                {
                    "fixed":  "333a5af7f13ec3358aecd87c79db413fd06c30f8"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v1.*
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140424.json"