Improper Certificate Validation in node-forge - CVE-2026-119189
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to make applications accept certificate chains exceeding trusted CA path length constraints.
The vulnerability exists due to node-forge's forge.pki.verifyCertificateChain() skipping pathLenConstraint enforcement when a CA certificate lacks keyUsage. An unauthenticated remote attacker can use that CA's private key or a CA certificate obtained from it to present subordinate CA chains that validate despite exceeding the constraint, provided the constrained CA chains to a root trusted by the application.