Advisory record · GHSA-jc66-7q78-782g

Forge: PKCS#12 MAC forgery and constant-key PBE via zero iteration count

CVSS 7.5 HighEPSS 0.0013 · 2nd percentile

Published by the GitHub Advisory Database at 30 Oct 2026, 23:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
node-forgenpm<1.4.11.4.1
Identifiers
GHSA-jc66-7q78-782g · CVE-2026-118782
Weakness (CWE)
CWE-354 · CWE-1284
Published
30 Oct 2026
Updated
30 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Node-forge versions before 1.4.1 are vulnerable. When a PKCS#12 file's MAC iteration count is zero or less, the key derivation returns a constant key, so an attacker without the password can alter a PKCS#12 file and compute a MAC that verifies under any password, and PKCS#12 PBE-encrypted private keys with a zero or negative iteration count decrypt with any password. Exploiting this requires only the ability to supply a crafted file to an application that imports it, with no password or user interaction needed. Upgrade to node-forge 1.4.1, which rejects iteration counts below 1.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0013, the 2nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 29 Oct 2026, 18:51 UTC Confirmed by the CVE List
  2. 29 Oct 2026, 19:17 UTC Confirmed by NVD
  3. 31 Oct 2026, 13:32 UTC First seen by agentprime
  4. 31 Oct 2026, 13:32 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.