{
  "id": "CVE-2026-33896",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33896",
  "published_at": "2026-03-27T20:50:03.418Z",
  "title": "Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation)",
  "vendor": "digitalbazaar",
  "product": "forge",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Forge (also called `node-forge`) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.4.0, `pki.verifyCertificateChain()` does not enforce RFC 5280 basicConstraints requirements when an intermediate certificate lacks both the `basicConstraints` and `keyUsage` extensions. This allows any leaf certificate (without these extensions) to act as a CA and sign other certificates, which node-forge will accept as valid. Version 1.4.0 patches the issue.",
  "cwe": "CWE-295",
  "cpes": [
    "cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.4,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "digitalbazaar",
        "product": "forge",
        "ranges": [
          "\u003c 1.4.0"
        ],
        "fixed_in": [
          "1.4.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade forge to 1.4.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-2328-f5f3-gj25"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/digitalbazaar/forge/commit/2e492832fb25227e6b647cbe1ac981c123171e90"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
