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

CVE-2026-125335: 
NixOS 脆弱性分析と緩和策

概要

CVE-2026-125335 is an Ed25519 signature forgery vulnerability in node-forge (also called Forge), a native JavaScript implementation of Transport Layer Security. The flaw exists in ed25519.verify(), which fails to reject small-order public keys or their non-canonical encodings, allowing an attacker who can supply the public key to forge valid signatures for arbitrary messages without possessing the corresponding private key. All versions of node-forge up to and including 1.4.2 are affected; the issue was reported by @analisaperlengkapan, published to the GitHub Advisory Database on November 10, 2026, and fixed in version 1.4.3 released November 4, 2026. It carries a CVSS v3.1 base score of 3.7 (Low) (Github Advisory, Forge Security Advisory).

技術的詳細

The root cause is classified as CWE-347 (Improper Verification of Cryptographic Signature). In lib/ed25519.js, the crypto_sign_open() function decodes the public key A using unpackneg(), which only verifies that the point lies on the Ed25519 curve but does not check whether it is a small-order point (the identity point or the other 7 points of order 2, 4, or 8, including non-canonical encodings where y >= p). The verification equation R == [S]B - [k]A with k = SHA-512(R || A || M) reduces to R == [k](-A) when S = 0; for a small-order A, [k](-A) cycles through at most 8 small-order points, so an attacker can enumerate valid R values. For the identity key (01 00 … 00), R = identity and S = 0 passes verification for every possible message. The fix in commit 1b77e6f adds an _isSmallOrder() check that computes [8]P and rejects the key if the result is the identity point, covering all small-order points and their non-canonical encodings (Forge Security Advisory, Fix Commit).

影響

Successful exploitation allows an unauthenticated attacker to produce Ed25519 signatures that verify as valid for arbitrary messages without possessing the private key, defeating proof-of-possession, attribution, non-repudiation, and deduplication checks. The integrity impact is limited to scenarios where the application accepts attacker-controlled public keys (e.g., keys embedded in signed data, self-registered keys, or keys in attacker-controlled documents); there is no confidentiality or availability impact. Applications that only verify signatures against internally generated or otherwise trusted public keys are not affected, and signatures produced under legitimately generated keys cannot be forged via this method (Github Advisory).

利用可能性

A proof-of-concept is publicly available in the official security advisory and is included in the node-forge repository at tests/pocs/GHSA-6889-vf6x-f3g5.js; it demonstrates that forge.ed25519.verify() returns true for any message under the identity public key with a zero-scalar signature on versions ≤ 1.4.2. Exploitation requires no authentication or user interaction but does require the attacker to control the public key supplied to the verifier, making it a high-complexity attack in practice. The EPSS score is approximately 0.20–0.23%, and there is no evidence of in-the-wild exploitation or CISA KEV catalog inclusion at this time (Github Advisory, Forge Security Advisory).

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

  1. Identify a vulnerable target: Locate an application using node-forge ≤ 1.4.2 that calls forge.ed25519.verify() with a public key supplied or influenced by the attacker (e.g., a key embedded in a JWT, a self-registered user key, or a key in an attacker-controlled document).
  2. Construct a small-order public key: Use the 32-byte identity point as the public key: IDENTITY = Buffer.concat([Buffer.from([0x01]), Buffer.alloc(31)]) (i.e., 01 00 … 00). Other small-order points of order 2, 4, or 8 can also be used for probabilistic forgery against other messages.
  3. Construct a forged signature: Build a 64-byte signature with R = IDENTITY and S = 00 … 00 (all zeros): SIG = Buffer.concat([IDENTITY, Buffer.alloc(32)]).
  4. Submit the forged signature: Call the verifier with any target message, the forged signature, and the identity public key — for example: forge.ed25519.verify({message: 'admin=true', encoding: 'utf8', signature: SIG.toString('binary'), publicKey: IDENTITY.toString('binary')}). On versions ≤ 1.4.2, this returns true for every message under the identity key.
  5. Achieve the objective: The application accepts the forged signature as valid, bypassing proof-of-possession, authentication, or non-repudiation checks tied to that key (Forge Security Advisory, Fix Commit).

妥協の兆候

  • Application Logs: Signature verification calls that succeed for messages that should not be signed by the presented key; repeated verification attempts with the same public key across different messages (consistent with small-order key enumeration).
  • Input Data: Incoming public keys whose 32-byte encoding matches known small-order points: 0100000000000000000000000000000000000000000000000000000000000000 (identity), ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f (order 2), or other libsodium-blocked encodings.
  • Signature Artifacts: Signatures where the S scalar component (bytes 32–63) is all zeros (00…00) and the R component (bytes 0–31) matches a small-order point encoding.
  • Behavioral: Authentication or authorization bypass events where a user presents a self-supplied public key and gains elevated privileges (e.g., admin=true claims) without a corresponding legitimate private key (Forge Security Advisory).

緩和策と回避策

Upgrade node-forge to version 1.4.3 or later, which rejects any public key A where [8]A equals the identity point, covering all small-order points and their non-canonical encodings (Forge Release v1.4.3, Github Advisory). As a workaround prior to patching, applications should validate incoming public keys before passing them to ed25519.verify() by rejecting any key whose 32-byte encoding matches the known small-order point encodings blocked by libsodium (including 01 00 … 00), or by restricting verification to keys that were generated internally or obtained from a trusted source. Switching to Node.js's built-in crypto.verify() (backed by OpenSSL) is also an option, as it already rejects these signatures.

コミュニティの反応

The vulnerability was reported by community researcher @analisaperlengkapan and acknowledged by node-forge maintainer @davidlehn, who coordinated the fix and release of version 1.4.3 alongside four other security fixes in the same release cycle (Forge PR #1169). Red Hat and Microsoft both tracked the advisory, indicating downstream awareness in enterprise ecosystems (Github Advisory). No significant broader media coverage or notable social media discussion has been identified beyond standard vulnerability database aggregation.

追加リソース

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

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

Ubuntu

不明

focal (esm-apps)

node-node-forge

不明

jammy

node-node-forge

不明

jammy (esm-apps)

node-node-forge

不明

RHEL / CentOS

影響

RHEL 8

pcs.src

影響

RHEL 9

pcs.src

影響

RHEL 10

pcs.src

影響

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

関連 NixOS 脆弱性:

CVE ID

重大度

スコア

テクノロジー

コンポーネント名

CISA KEVのエクスプロイト

修正あり

出版日

CVE-2026-136716CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:drupal:drupal
はいはいNov 26, 2026
CVE-2026-132165CRITICAL9.8
  • NixOS logoNixOS
  • drupal
はいはいNov 26, 2026
CVE-2026-61513HIGH7.3
  • NixOS logoNixOS
  • veracrypt
いいえいいえNov 24, 2026
CVE-2026-61512HIGH7.3
  • NixOS logoNixOS
  • veracrypt
いいえはいNov 24, 2026
CVE-2026-125283MEDIUM6.9
  • NGINX logoNGINX
  • nginx-mod-http-geoip
いいえはいNov 18, 2026

無料脆弱性評価

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

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

評価のリクエスト

Wizのその他のリソース

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

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

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