{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.2.1"
              },
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.0.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2189e5beeca6a70e4c104dfdb9fb8200bc5f81fe"
            },
            {
              "introduced": "933e8750dcd000c16a621a7344a4beaa034c4019"
            },
            {
              "fixed": "658b93e163d9aff8c31236c168657bab5e2d9bbc"
            }
          ],
          "repo": "https://github.com/protobufjs/protobuf.js",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f84p-cvgm-xgjj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42290.json"
  },
  "details": "protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbts invoked JSDoc by building a shell command string from input file paths and executing it through child_process.exec. File paths containing shell metacharacters could therefore be interpreted by the shell instead of being passed to JSDoc as plain arguments. This vulnerability is fixed in 1.2.1 and 2.0.2.",
  "id": "CVE-2026-42290",
  "modified": "2026-07-08T05:39:01.936711767Z",
  "published": "2026-05-13T14:49:30.030Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42290.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-f84p-cvgm-xgjj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42290"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "protobufjs-cli: OS Command Injection"
}