Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for doc-recog by zepspaiva

    CVE-2026-110638 (GCVE-0-2026-110638)

    Vulnerability from nvd – Published: 2026-10-14 14:17 – Updated: 2026-10-14 14:17
    VLAI
    Title
    doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
    Summary
    doc-recog through 1.1.6 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted document paths to recog() or tag(). Attackers can embed $(...) or backtick command substitution in the file path, which DocData._readPDF passes to a shell-based pdftotext exec call, running commands with Node.js process privileges.
    CWE
    • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 6106 records in the last 180 days details
    Impacted products
    Vendor Product Version
    zepspaiva doc-recog Affected: 0 , ≤ 1.1.6 (semver)
    Create a notification for this product.
    Date Public
    2026-08-05 00:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://www.npmjs.com/package/doc-recog",
              "defaultStatus": "unaffected",
              "packageURL": "pkg:npm/doc-recog",
              "product": "doc-recog",
              "repo": "https://github.com/zepspaiva/doc-recog",
              "vendor": "zepspaiva",
              "versions": [
                {
                  "lessThanOrEqual": "1.1.6",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani"
            }
          ],
          "datePublic": "2026-08-05T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "doc-recog through 1.1.6 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted document paths to recog() or tag(). Attackers can embed $(...) or backtick command substitution in the file path, which DocData._readPDF passes to a shell-based pdftotext exec call, running commands with Node.js process privileges."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 9.3,
                "baseSeverity": "CRITICAL",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-78",
                  "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-14T14:17:09.820Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "issue-tracking",
                "patch"
              ],
              "url": "https://github.com/zepspaiva/doc-recog/pull/2"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74"
            },
            {
              "tags": [
                "product"
              ],
              "url": "https://github.com/zepspaiva/doc-recog"
            },
            {
              "name": "VulnCheck Advisory: doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path"
            }
          ],
          "title": "doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-110638",
        "datePublished": "2026-10-14T14:17:09.820Z",
        "dateReserved": "2026-10-14T13:07:32.721Z",
        "dateUpdated": "2026-10-14T14:17:09.820Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-110638 (GCVE-0-2026-110638)

    Vulnerability from cvelistv5 – Published: 2026-10-14 14:17 – Updated: 2026-10-14 14:17
    VLAI
    Title
    doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path
    Summary
    doc-recog through 1.1.6 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted document paths to recog() or tag(). Attackers can embed $(...) or backtick command substitution in the file path, which DocData._readPDF passes to a shell-based pdftotext exec call, running commands with Node.js process privileges.
    CWE
    • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
    Assigner
    VulnCheck CNA under the mitre root
    CNA scorecard B 84/100 over 6106 records in the last 180 days details
    Impacted products
    Vendor Product Version
    zepspaiva doc-recog Affected: 0 , ≤ 1.1.6 (semver)
    Create a notification for this product.
    Date Public
    2026-08-05 00:00
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "collectionURL": "https://www.npmjs.com/package/doc-recog",
              "defaultStatus": "unaffected",
              "packageURL": "pkg:npm/doc-recog",
              "product": "doc-recog",
              "repo": "https://github.com/zepspaiva/doc-recog",
              "vendor": "zepspaiva",
              "versions": [
                {
                  "lessThanOrEqual": "1.1.6",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Zachariah Mithani"
            }
          ],
          "datePublic": "2026-08-05T00:00:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "value": "doc-recog through 1.1.6 contains an OS command injection vulnerability that allows attackers to execute commands by supplying crafted document paths to recog() or tag(). Attackers can embed $(...) or backtick command substitution in the file path, which DocData._readPDF passes to a shell-based pdftotext exec call, running commands with Node.js process privileges."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 9.3,
                "baseSeverity": "CRITICAL",
                "privilegesRequired": "NONE",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH"
              },
              "format": "CVSS"
            },
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "format": "CVSS"
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-78",
                  "description": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-14T14:17:09.820Z",
            "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
            "shortName": "VulnCheck"
          },
          "references": [
            {
              "tags": [
                "issue-tracking",
                "patch"
              ],
              "url": "https://github.com/zepspaiva/doc-recog/pull/2"
            },
            {
              "tags": [
                "technical-description"
              ],
              "url": "https://github.com/zepspaiva/doc-recog/blob/96d31957fbc2a31f1d739e2d64e5c85a05f688ec/docdata.js#L69-L74"
            },
            {
              "tags": [
                "product"
              ],
              "url": "https://github.com/zepspaiva/doc-recog"
            },
            {
              "name": "VulnCheck Advisory: doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path",
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.vulncheck.com/advisories/doc-recog-through-1.1.6-os-command-injection-via-docdata-readpdf-file-path"
            }
          ],
          "title": "doc-recog through 1.1.6 OS Command Injection via DocData._readPDF File Path",
          "x_generator": {
            "engine": "vulncheck-endgame"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "assignerShortName": "VulnCheck",
        "cveId": "CVE-2026-110638",
        "datePublished": "2026-10-14T14:17:09.820Z",
        "dateReserved": "2026-10-14T13:07:32.721Z",
        "dateUpdated": "2026-10-14T14:17:09.820Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }