{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:zapolnoch:tesseract_ocr:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.2.1"
              },
              {
                "last_affected": "2.2.1"
              }
            ],
            "source": [
              "DESCRIPTION",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9f6dc9d738020aa8a12371b79dabac492bf471d7"
            }
          ],
          "repo": "https://github.com/zapolnoch/node-tesseract-ocr",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26832.json"
  },
  "details": "node-tesseract-ocr is an npm package that provides a Node.js wrapper for Tesseract OCR. In all versions through 2.2.1, the recognize() function in src/index.js is vulnerable to OS Command Injection. The file path parameter is concatenated into a shell command string and passed to child_process.exec() without proper sanitization",
  "id": "CVE-2026-26832",
  "modified": "2026-07-08T05:38:11.724209785Z",
  "published": "2026-03-25T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/zapolnoch/node-tesseract-ocr/blob/master/src/index.js"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/package/node-tesseract-ocr"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26832.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-26832"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/zapolnoch/node-tesseract-ocr"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/zebbernCVE/CVE-2026-26832"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N",
      "type": "CVSS_V3"
    }
  ]
}