Skip to content
Heist/ feed
Back to feed
Critical

@mborne/extract before 0.2.1 OS Command Injection via archivePath and targetDir

Type: advisorySources: OSV

@mborne/extract before 0.2.1 contains an OS command injection vulnerability that allows attackers to execute commands by supplying shell metacharacters in archivePath or targetDir options. Attackers controlling these values passed to extract() can inject commands into unquoted shelljs exec() strings in the unzip, 7z, tar-bz2 and gz extractors, running them with Node.js process privileges.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-110639
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:25 UTC · Revision 1

Source evidence

@mborne/extract before 0.2.1 OS Command Injection via archivePath and targetDir

core-osv · Original source

Published 14 Oct 2026, 14:17 UTC

@mborne/extract before 0.2.1 contains an OS command injection vulnerability that allows attackers to execute commands by supplying shell metacharacters in archivePath or targetDir options. Attackers controlling these values passed to extract() can inject commands into unquoted shelljs exec() strings in the unzip, 7z, tar-bz2 and gz extractors, running them with Node.js process privileges.

osv:CVE-2026-110639
Complete source record
{
  "id": "1ffccdb94c9e11fa499d13d9eb158e946bf9d7160f0c3d104878b36356f24551",
  "url": "https://osv.dev/vulnerability/CVE-2026-110639",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "@mborne/extract before 0.2.1 OS Command Injection via archivePath and targetDir",
    "summary": "@mborne/extract before 0.2.1 contains an OS command injection vulnerability that allows attackers to execute commands by supplying shell metacharacters in archivePath or targetDir options. Attackers controlling these values passed to extract() can inject commands into unquoted shelljs exec() strings in the unzip, 7z, tar-bz2 and gz extractors, running them with Node.js process privileges.",
    "evidence": "osv:CVE-2026-110639",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-110639",
      "aliases": [
        "CVE-2026-110639"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mborne/node-extract",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e06a0a301049ba5a083e5f985024fd1dd0eb470c"
                },
                {
                  "fixed": "585e5b29657379e73c04f6f950ea8dc5319f8ae1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.2.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "585e5b29657379e73c04f6f950ea8dc5319f8ae1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e06a0a301049ba5a083e5f985024fd1dd0eb470c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.2.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-110639.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.778006998Z",
      "provider": "osv",
      "references": [
        "https://registry.npmjs.org",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110639.json",
        "https://github.com/mborne/node-extract/releases/tag/v0.2.1",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-110639",
        "https://www.vulncheck.com/advisories/mborne-extract-before-0.2.1-os-command-injection-via-archivepath-and-targetdir",
        "https://github.com/mborne/node-extract/commit/585e5b29657379e73c04f6f950ea8dc5319f8ae1",
        "https://github.com/mborne/node-extract/pull/8",
        "https://github.com/mborne/node-extract",
        "https://github.com/mborne/node-extract/blob/v0.2.0/src/extractor/unzip.js#L17-L19"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110639.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-110639",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497815,
  "published_at": "2026-10-14T14:17:10.54+00:00"
}