{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.1.0"
              },
              {
                "last_affected": "0.1.0"
              },
              {
                "introduced": "0.1.1"
              },
              {
                "last_affected": "0.1.1"
              },
              {
                "introduced": "0.1.2"
              },
              {
                "last_affected": "0.1.2"
              },
              {
                "introduced": "0.1.3"
              },
              {
                "last_affected": "0.1.3"
              },
              {
                "introduced": "0.1.4"
              },
              {
                "last_affected": "0.1.4"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "1a0a03740a15255b6e470baa6da0c475b3581da0"
            },
            {
              "fixed": "adf2d9a09945fc98c85a2520a89f441d78b2dbd8"
            }
          ],
          "repo": "https://github.com/publint/publint",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.1.0",
        "0.1.1",
        "0.1.2",
        "0.1.3",
        "0.1.4"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-77",
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16631.json"
  },
  "details": "A vulnerability was detected in publint up to 0.1.4. This impacts the function child_process.exec of the file src/node/pack.js of the component package-manager Command Handler. The manipulation results in os command injection. Attacking locally is a requirement. The exploit is now public and may be used. The patch is identified as adf2d9a09945fc98c85a2520a89f441d78b2dbd8. It is advisable to implement a patch to correct this issue. The project maintainer explains: \"I think it's very rare for someone to use this package with untrusted input\".",
  "id": "CVE-2026-16631",
  "modified": "2026-08-12T03:51:17.088446644Z",
  "published": "2026-07-22T23:30:14.981Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/publint/publint/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16631.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-16631"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-16631"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/860239"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/382381"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/publint/publint/issues/236"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/382381/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/publint/publint/commit/adf2d9a09945fc98c85a2520a89f441d78b2dbd8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/publint/publint/pull/238"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "publint package-manager pack.js child_process.exec os command injection"
}