- Accueil
- Vulnérabilités
- CVE-2026-119189
CVE-2026-119189
Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage
Résumé
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, node-forge enforced an X.509 CA certificate's basicConstraints.pathLenConstraint only when that certificate also carried a keyUsage extension. Exploitation requires a path-length-constrained CA without keyUsage that chains to a root trusted by the application, and an attacker who holds that CA's private key or obtains a subordinate CA certificate from it. The attacker could then construct a chain exceeding the declared path length that still passed pki.verifyCertificateChain(). Public web PKI CA certificates normally include keyUsage; private PKIs with CA certificates created without it are more likely to be affected. This issue is fixed in version 1.4.1.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Digitalbazaar (2 ligne(s))
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| node-forge | avant 1.4.1 (exclu) |
1.4.1 |
GitHub Advisory |
Correctif
Mise à jour — npm/node-forge 1.4.1source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-h46v-rmh6-fq4f — Forge: X.509 pathLenConstraint not enforced by verifyCertificateChain() for CA certificates without keyUsage 10 nov. 2026
Références
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-h46v-rmh6-fq4fexploit
- https://github.com/digitalbazaar/forge/commit/696db92348623e88cc63c35f0a89ede481d55ad0x_refsource_MISC
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-119189ADVISORY
- https://github.com/digitalbazaar/forgePACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-295 · Autre (CWE-295)