本文へ移動

#CVE-2026-125336

脆弱性の一覧へ戻る

編集部の見出し:node-forge:証明書の名前制約(nameConstraints)を検証せず、範囲外の証明書を受け入れる

CVE(NVD)CVSS 7.4 HighEPSS 0.2%

NVD の情報

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, pki.verifyCertificateChain() in lib/x509.js does not decode or enforce the X.509 nameConstraints extension while validating certificate paths. A name-constrained certificate authority with a non-critical extension can therefore issue a leaf certificate with a subjectAltName dNSName or subject commonName outside a permitted subtree or inside an excluded subtree, and node-forge accepts the chain. Exploitation requires a name-constrained CA that chains to a trusted root and either its private key or the ability to obtain an out-of-scope certificate, allowing impersonation of names outside the delegated namespace, including against forge.tls clients. Chains without nameConstraints are not affected, and affected versions safely reject critical nameConstraints as unsupported rather than accepting them. This issue is fixed in version 1.4.3.

公開日
2026-11-10
最終更新(NVD)
2026-11-16
NVD の状態
Analyzed
脆弱性の種類
CWE-295

深刻度(CVSS)

  • 7.4 HighCVSS 3.1/副/評価:security-advisories@github.comCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

EPSS:今後30日に悪用される推定確率 0.23%(全体の上位 86.0%、評価日 2026-11-18)

解消方法

  • node-forge のバージョンアップ1.4.3 以降根拠:公告(編集部の転記)
  • digitalbazaar forge のバージョンアップ1.4.3 以上根拠:NVD の条件から推定
  • 回避策(設定変更など)根拠:公告(編集部の転記)

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

影響を受ける製品と版(NVD の条件)

版の範囲は NVD の条件上の影響範囲です。修正版とは限りません。修正版はベンダーの公告で確認してください。

  • digitalbazaar forge:1.4.3 未満限定:targetSw=node.js

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-11 のレポートnode-forge:証明書の名前制約(nameConstraints)を検証せず、範囲外の証明書を受け入れる

pki.verifyCertificateChain() が非 critical の nameConstraints を無視。制約付き中間 CA の鍵流出などを前提に、forge.tls クライアントでなりすましが可能。Node.js の依存に広く入るため掲載。

悪用状況(編集部):悪用の報告は確認されていない根拠

公告に記載の修正版

公告に記載の回避策

  • 検証コールバックで、先頭以外に拡張 2.5.29.30 を持つ CA 証明書があればエラーにする(正当な制約付きチェーンも拒否される)公告

参照(NVD)

NVD から取得:2026-11-18T22:35:21.044Z/EPSS 評価日:2026-11-18

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。