GHSA-86w9-cpqp-85rv: Duplicate Advisory Node-forge RSA PKCS#1 V1.5 Signature Vulnerability
HIGHGHSA-86w9-cpqp-85rv is a HIGH (CVSS 7.5) node-forge rsa pkcs#1 v1.5 signature vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Duplicate Advisory libraries in the npm ecosystem. The issue involves node-forge rsa pkcs#1 v1.5 signature verification accepts extra nested digestalgorithm elements. Remediation is available by upgrading affected packages to version 1.4.1.
GHSA-86w9-cpqp-85rv at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix GHSA-86w9-cpqp-85rv
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install node-forge@1.4.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls node-forge
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-86w9-cpqp-85rv, inspect your project dependencies using npm:
npm ls node-forge
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.1), your application is affected.
Note: The npm ls node-forge command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-86w9-cpqp-85rv Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
node-forge
|
npm |
< 1.4.1
|
1.4.1
|
References
Frequently Asked Questions
What is GHSA-86w9-cpqp-85rv?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-86w9-cpqp-85rv?
Is node-forge affected?
What is the CVSS score of GHSA-86w9-cpqp-85rv?
What CWE is associated with GHSA-86w9-cpqp-85rv?
How can I check npm dependencies for GHSA-86w9-cpqp-85rv?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-86w9-cpqp-85rv",
"modified" : "2026-12-01T17:52:43Z",
"published" : "2026-09-03T21:31:15Z",
"withdrawn" : "2026-12-01T17:52:43Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: node-forge RSA PKCS#1 v1.5 signature verification accepts extra nested DigestAlgorithm elements",
"details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-2g46-22mc-6gwp. This link is maintained to preserve external references.\n\n## Original Description\n\nnode-forge through 1.4.0 fails to validate element count in nested DigestAlgorithm sequences during RSA PKCS#1 v1.5 signature verification. Attackers can embed garbage bytes inside the DigestAlgorithm sequence to forge valid signatures for arbitrary messages using low-exponent RSA keys. This is an incomplete fix for CVE-2026-33894.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "node-forge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.4.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/digitalbazaar/forge/security/advisories/GHSA-2g46-22mc-6gwp"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-85393"
}, {
"type" : "WEB",
"url" : "https://github.com/digitalbazaar/forge/issues/1149"
}, {
"type" : "WEB",
"url" : "https://github.com/digitalbazaar/forge/pull/1152"
}, {
"type" : "WEB",
"url" : "https://github.com/digitalbazaar/forge/pull/1163"
}, {
"type" : "WEB",
"url" : "https://github.com/digitalbazaar/forge/commit/2bce9d477a2ff436e86ff9694ae999f1552aa2bb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/digitalbazaar/forge"
}, {
"type" : "WEB",
"url" : "https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/asn1.js"
}, {
"type" : "WEB",
"url" : "https://github.com/digitalbazaar/forge/blob/v1.4.0/lib/rsa.js"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/node-forge-through-1.4.0-rsa-pkcs-1-1.5-signature-forgery-via-nested-digestalgorithm-padding"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-01T21:09:09Z",
"nvd_published_at" : "2026-09-03T19:17:31Z"
}
}