{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*",
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.4.1"
                  }
                ],
                "source": "CPE_RANGE"
              },
              {
                "range": [
                  {
                    "fixed": "696db92348623e88cc63c35f0a89ede481d55ad0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.4.1",
                "range": [
                  {
                    "fixed": "8a917370ec51731e817c2d547b7329a58f8210af"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8a917370ec51731e817c2d547b7329a58f8210af"
            },
            {
              "fixed": "696db92348623e88cc63c35f0a89ede481d55ad0"
            }
          ],
          "repo": "https://github.com/digitalbazaar/forge",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h46v-rmh6-fq4f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-295"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119189.json"
  },
  "details": "Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge enforced an X.509 CA certificate's basicConstraints.pathLenConstraint only when that certificate also carried a keyUsage extension. Exploitation requires a path-length-constrained CA without keyUsage that chains to a root trusted by the application, and an attacker who holds that CA's private key or obtains a subordinate CA certificate from it. The attacker could then construct a chain exceeding the declared path length that still passed pki.verifyCertificateChain(). Public web PKI CA certificates normally include keyUsage; private PKIs with CA certificates created without it are more likely to be affected. This issue is fixed in version 1.4.1.",
  "id": "CVE-2026-119189",
  "modified": "2026-11-12T02:30:40.576843474Z",
  "published": "2026-10-29T19:23:25.238Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/digitalbazaar/forge/releases/tag/v1.4.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119189.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-119189"
    },
    {
      "type": "FIX",
      "url": "https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage"
}