Read the docs

Forge accepts zero iteration count, enabling PKCS#12 integrity bypass

Priority HIGH 72CWE-1284Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 13 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

Forge (node-forge) before 1.4.1 accepts a PKCS#12 MAC or password-based encryption iteration count of zero or less (CWE-1284). This makes pki.pbe.generatePkcs12Key() return a constant key that ignores the password and salt. A remote attacker without privileges can submit crafted PKCS#12 input to forge.pkcs12.pkcs12FromAsn1() to bypass password-based integrity checks. Predictable keys and IVs also affect some PKCS#12 and PKCS#8 encrypted inputs that use 3DES or RC2 PBE.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00125 2nd percentileScored 2026-11-07
Fix Partial forge (digitalbazaar): 1.4.1node-forge (npm): 1.4.1Red Hat: 13 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
digitalbazaarforgebefore 1.4.11.4.1Patch availableCNA
—node-forge (npm)before 1.4.11.4.1Patch availableGHSA-jc66-7q78-782g
  • forge Vendordigitalbazaar Affected before 1.4.1 Fixed in 1.4.1 Patch available CNA
  • node-forge (npm) Vendor— Affected before 1.4.1 Fixed in 1.4.1 Patch available GHSA-jc66-7q78-782g

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:*:*:*——digitalbazaar
  • cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:*:*:* Versions — — ·digitalbazaar

Remediation

Upgrade Forge (node-forge) to version 1.4.1. Red Hat lists no available plan for Node HealthCheck Operator, OpenShift Pipelines, OpenShift Serverless, Red Hat AMQ Broker 7, Red Hat Ansible Automation Platform 2 and other products.

Written with Claude Haiku 5.5 from the sources below · 2026-11-07

  • Fix · CNA forge (digitalbazaar) Fixed in 1.4.1
  • Fix · GHSA-jc66-7q78-782g node-forge (npm) Fixed in 1.4.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Node HealthCheck OperatorAffectedNo fix yet
OpenShift PipelinesAffectedNo fix yet
OpenShift ServerlessAffectedNo fix yet
Red Hat AMQ Broker 7AffectedNo fix yet
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Red Hat Build of Podman DesktopAffectedNo fix yet
Red Hat Ceph Storage 4AffectedNo fix yet: Fix deferred
Red Hat Connectivity Link 1AffectedNo fix yet
Red Hat Developer Hub 1AffectedNo fix yet
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet
Self-service automation portal 2AffectedNo fix yet
Not affected: 8 products
  • OpenShift Service Mesh 3
  • Red Hat AMQ Broker 7
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Hardened Images
  • Red Hat Quay 3
  • Red Hat build of Apache Camel for Spring Boot 4

Timeline

  1. 2026-10-29 Threatist record created from CVE-2026-118782
  2. 2026-10-30 Alias added: GHSA-jc66-7q78-782g
  3. 2026-10-30 Fix available: npm/[email protected] · GHSA-jc66-7q78-782g
  4. 2026-10-30 CVSS score added · GHSA-jc66-7q78-782g
  5. 2026-10-30 Weakness changed · GHSA-jc66-7q78-782g
  6. 2026-10-30 5 new references · GHSA-jc66-7q78-782g
  7. 2026-10-31 Priority changed: MEDIUM → LOW
  8. 2026-11-03 CISA SSVC decision points changed
  9. 2026-11-03 Priority changed: LOW → HIGH
  10. 2026-11-06 Affected versions changed · Red Hat
  11. 2026-11-06 CVSS score added · Red Hat
  12. 2026-11-07 Affected versions changed · Red Hat
  13. 2026-11-07 CVSS score added · Red Hat

References

  • TI-2026-58601 node-forge through 1.4.0 RSA PKCS#1 v1.5 Signature Forgery via Nested DigestAlgorithm Padding CVSS 4.0HIGH 8.7
  • TI-2026-26254 Forge has a basicConstraints bypass in its certificate chain verification (RFC 5280 violation) CVSS 3.1CRITICAL 9.1
  • TI-2026-82739 ASN.1 resource exhaustion in Forge asn1.fromDer via BIT STRINGs CVSS 3.1HIGH 7.5
  • TI-2026-82735 Denial of service in Forge TLS record processing via stack exhaustion CVSS 3.1HIGH 7.5
  • TI-2026-82730 Regular expression denial of service in Forge PEM decoding CVSS 3.1HIGH 7.5
  • TI-2026-26253 Forge has signature forgery in Ed25519 due to missing S > L check CVSS 3.1HIGH 7.5
See all 28 →

Sources