{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.4.2"
              },
              {
                "fixed": "0.4.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "937e203ea8b62d22f0f47db049d404f843760e25"
            }
          ],
          "repo": "https://github.com/jinghaihan/turnpress",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110647.json"
  },
  "details": "Turnpress through 0.4.2 contains an OS command injection vulnerability that allows attackers to execute shell commands by supplying .docx files with crafted names. The convertDocxToHtml function in src/converter.ts invokes pandoc through execa with shell:true, so shell metacharacters in the --docx path run with the victim's privileges during convert or create.",
  "id": "CVE-2026-110647",
  "modified": "2026-10-16T02:31:05.980727682Z",
  "published": "2026-10-14T14:17:15.770Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.npmjs.com"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110647.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-110647"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/turnpress-through-0.4.2-os-command-injection-via-crafted-docx-file-names"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jinghaihan/turnpress/pull/2"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/jinghaihan/turnpress"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/jinghaihan/turnpress/blob/v0.4.2/src/converter.ts#L33-L61"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Turnpress through 0.4.2 OS Command Injection via Crafted .docx File Names"
}