WizがGoogle Cloudに参加:共に魔法を作り出す

CVE-2026-125336: 
Grafana 脆弱性分析と緩和策

概要

CVE-2026-125336 is an improper certificate validation vulnerability in node-forge (also called Forge), a native JavaScript implementation of Transport Layer Security. The flaw exists in pki.verifyCertificateChain() within lib/x509.js, which fails to decode or enforce the X.509 nameConstraints extension (OID 2.5.29.30) during certificate path validation. All versions up to and including 1.4.2 are affected; the issue was disclosed on November 4, 2026, and fixed in version 1.4.3. It carries a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory, Feedly).

技術的詳細

The root cause is classified as CWE-295 (Improper Certificate Validation). RFC 5280 path validation steps 6.1.3(b) and (c) — which check each certificate's names against the permitted and excluded subtrees defined by CA certificates above it — were never implemented in pki.verifyCertificateChain(), and the nameConstraints extension was not decoded at all. As a result, a non-critical nameConstraints extension is silently ignored: an intermediate CA constrained to only .example.com can issue a leaf certificate with CN=evil.com or a subjectAltName dNSName evil.com, and node-forge accepts the chain as valid. Notably, chains with a critical nameConstraints extension were previously rejected as an unsupported critical extension (fail-safe), so only non-critical extensions are exploitable. The CA/Browser Forum Baseline Requirements historically permitted technically constrained subordinate CAs to mark this extension non-critical, meaning such CAs exist in real-world PKI hierarchies. A proof-of-concept is included in the advisory and in the repository at tests/pocs/GHSA-3cc4-3294-vgjf.js (GitHub Advisory, Forge PR #1169).

影響

Successful exploitation allows an attacker to obtain TLS certificates that node-forge accepts for arbitrary domain names, enabling impersonation of any host to a forge.tls client. The primary impacts are high confidentiality loss (interception of TLS-protected communications) and high integrity loss (man-in-the-middle attacks, forged server identity), with no availability impact. Applications relying on pki.verifyCertificateChain() or forge.tls for peer verification are at risk of accepting fraudulent certificates, potentially exposing sensitive data or allowing unauthorized actions on behalf of impersonated services (GitHub Advisory).

利用可能性

A proof-of-concept is publicly available in the GitHub Security Advisory and the node-forge test suite, with concrete reproduction steps described (GitHub Advisory). Exploitation is not automated — it requires the attacker to possess the private key of a name-constrained CA that chains to a root trusted by the target application, or the ability to obtain a certificate issued under such a CA, making it a high-complexity attack. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.0023 (low probability of near-term exploitation), and the vulnerability is not listed in the CISA KEV catalog (Feedly).

エクスプロイテーションのステップ

  1. Identify a vulnerable target: Locate an application using node-forge <= 1.4.2 for TLS peer verification (forge.tls) or certificate chain validation (pki.verifyCertificateChain()), and confirm it trusts a root CA under which a name-constrained intermediate CA with a non-critical nameConstraints extension exists.
  2. Obtain CA access: Acquire the private key of the name-constrained intermediate CA, or obtain a certificate issued under it for an out-of-scope name (e.g., through a misconfigured or compromised CA).
  3. Issue a rogue leaf certificate: Using the intermediate CA's key, sign a leaf certificate with a subject CN=evil.com (no subjectAltName) or with a subjectAltName dNSName evil.com — a name outside the CA's permitted subtrees.
  4. Present the forged chain: During a TLS handshake or via a direct call, present the chain [leaf, intermediate] to the victim's node-forge verification routine. On versions <= 1.4.2, pki.verifyCertificateChain(caStore, [leaf, intermediate]) returns true because the nameConstraints extension is not enforced.
  5. Achieve impersonation: The attacker's server, presenting the accepted forged certificate, successfully impersonates the target domain to the forge.tls client, enabling man-in-the-middle interception or data manipulation (GitHub Advisory).

妥協の兆候

  • Network: Unexpected TLS connections where the server certificate's CN or subjectAltName does not match the domain permitted by the issuing intermediate CA's nameConstraints extension; TLS sessions established with certificates issued by an intermediate CA for domains outside its delegated namespace.
  • Logs: Application logs showing successful TLS handshakes or certificate chain verifications for hostnames inconsistent with the intermediate CA's permitted subtrees; absence of bad_certificate errors in node-forge logs where name constraint violations would be expected on a patched system.
  • File System: Presence of rogue certificate files (.pem, .crt, .cer) with subject names inconsistent with the issuing CA's nameConstraints extension in application certificate stores or temporary directories.
  • Process: Node.js processes loading node-forge versions <= 1.4.2 (package.json or node_modules/node-forge/package.json showing version < 1.4.3) in environments that perform TLS peer verification (GitHub Advisory).

緩和策と回避策

Upgrade node-forge to version 1.4.3 or later, which enforces nameConstraints in verifyCertificateChain() for subject DN, emailAddress, subjectAltName (rfc822Name, dNSName, directoryName, uniformResourceIdentifier, iPAddress), and the trust anchor (Forge Release v1.4.3, Forge PR #1169). As a temporary workaround (which rejects all chains below any name-constrained CA, including valid ones), pass a custom options.verify callback to pki.verifyCertificateChain() (or verify to forge.tls.createConnection()) that returns an error when any CA certificate in the chain has an extension with OID 2.5.29.30. Organizations should prioritize patching systems using forge for TLS client operations and review certificate chains in production environments for potential misuse (GitHub Advisory).

コミュニティの反応

The vulnerability was reported by security researcher @bhaswanthc, who also contributed the initial implementation of the fix, and was published with AI assistance according to the advisory (GitHub Advisory). The fix was developed in coordination with the digitalbazaar maintainer @davidlehn and validated against OpenSSL 3.5.5 across 62 curated chains and 2,600 random constraint/name combinations. No significant broader media coverage or notable social media reactions have been identified beyond the GitHub advisory and standard vulnerability database entries.

追加リソース

Linuxディストリビューションの修正状況

主要なLinuxディストリビューションとそのリリース間での可用性を修正しましょう。

Ubuntu

不明

focal (esm-apps)

node-node-forge

不明

jammy

node-node-forge

不明

jammy (esm-apps)

node-node-forge

不明

RHEL / CentOS

影響

RHEL 8

grafana.src

影響

RHEL 9

grafana.src

影響

RHEL 10

grafana.src

影響

ソース: この報告書はAIを用いて作成されました

関連 Grafana 脆弱性:

CVE ID

重大度

スコア

テクノロジー

コンポーネント名

CISA KEVのエクスプロイト

修正あり

出版日

CVE-2026-134815CRITICAL9.2
  • Grafana logoGrafana
  • grafana-prometheus
いいえいいえNov 22, 2026
CVE-2026-134813HIGH8.7
  • Grafana logoGrafana
  • grafana-mssql
いいえいいえNov 22, 2026
CVE-2026-133937MEDIUM5.5
  • Grafana logoGrafana
  • grafana-azure-monitor
いいえいいえNov 20, 2026
CVE-2026-10084MEDIUM5.3
  • Grafana logoGrafana
  • cpe:2.3:a:grafana:grafana
いいえはいNov 24, 2026
CVE-2026-133487LOW2.1
  • Grafana logoGrafana
  • nodejs:22::v8-12.4-devel
いいえはいNov 20, 2026

無料脆弱性評価

クラウドセキュリティの姿勢をベンチマークしましょう

9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。

評価のリクエスト

Wizのその他のリソース

パーソナライズされたデモを見る

実際に Wiz を見てみませんか?​

"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
デビッド・エストリックCISO (最高情報責任者)
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
アダム・フレッチャーチーフ・セキュリティ・オフィサー
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者