{
  "id": "CVE-2026-118782",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118782",
  "published_at": "2026-10-29T18:51:02.388Z",
  "title": "Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count",
  "vendor": "digitalbazaar",
  "product": "forge",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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 1.4.1, node-forge accepted a PKCS#12 MAC or PKCS#12 password-based encryption iteration count of zero or less. pki.pbe.generatePkcs12Key() then returned a constant key independent of the password and salt, allowing crafted PKCS#12 input processed by forge.pkcs12.pkcs12FromAsn1() to bypass password-based integrity checks. Predictable encryption keys and IVs also affected PKCS#12 PBE using pbeWithSHAAnd3-KeyTripleDES-CBC or pbewithSHAAnd40BitRC2-CBC, including shrouded key bags, encrypted SafeContents, and PKCS#8 ENCRYPTED PRIVATE KEY input processed independently by forge.pki.decryptPrivateKeyInfo(). PBES2/PBKDF2-encrypted content is unaffected. This issue is fixed in version 1.4.1.",
  "cwe": "CWE-354",
  "cpes": [
    "cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "digitalbazaar",
        "product": "forge",
        "ranges": [
          "\u003c 1.4.1"
        ],
        "fixed_in": [
          "1.4.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade forge to 1.4.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/digitalbazaar/forge/security/advisories/GHSA-jc66-7q78-782g"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/digitalbazaar/forge/commit/d9584aa56824972858366d5187b3d29e46bf3656"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/digitalbazaar/forge/releases/tag/v1.4.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
