WR 株式会社WR 松戸のホームページ制作・社内システム・IT相談

株式会社WR

千葉県松戸市
松戸・柏・市川・流山・船橋 対応

ホーム›脆弱性情報›Node.js›CVE-2026-110095

注意 CVSS 3.7 Node.js CVE-2026-110095 公表 2026年10月20日

fast-uri の相対URL処理に誤りの脆弱性

Node.js — CVE-2026-110095

自分のサイトが該当するか無料診断 → 原文を見る(NVD(米国 脆弱性データベース))↗

どんな問題か

相対URLを扱うとき、不要な「..」が消えてしまい、別の場所を指すようになる問題です。保存前の確認や判定に使うと、想定外の参照先へずれることがあります。

放置するとどうなるか

アクセス制御や重複判定がずれ、別の資料やページを参照してしまう可能性があります。意図しない場所に誘導されるおそれがあります。

今すぐやること

fast-uri を 2.4.8、3.1.9、4.2.3 以降へ更新してください。更新までの間は、相対URLをそのまま判定に使わず、先に絶対URLへ解決してから扱ってください。

自分のサイトが該当するかの確認手順

  1. お使いのサーバー・プログラムに Node.js が使われているか、制作会社・保守会社・サーバー会社に確認します(管理画面やサーバーのバージョン表示でも分かります)。
  2. バージョンが「2.4.2-2.4.7, 3.1.3-3.1.8, 4.0.1-4.2.2」に当てはまるか確認します。
  3. 当てはまる場合は、修正版へのアップデートを依頼します。レンタルサーバーの場合はサーバー会社側で対応済みのこともあるので、お知らせを確認してください。
原文(英語)を表示
fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions before 2.4.8, from 3.0.0 through 3.1.8, and from 4.0.0 through 4.2.2, the normalize() and serialize() functions apply RFC 3986 dot-segment removal to the path of a relative-path reference, even though that algorithm is defined only for the merged target path during resolution, so a leading parent-directory segment can be dropped and a document-relative reference can become root-relative. An application that normalizes an attacker-supplied or user-supplied relative reference and then resolves it, or uses it as a cache, deduplication, or authorization key, can have the reference escape its intended directory and point at a different resource. The issue is fixed in fast-uri 2.4.8, 3.1.9, and 4.2.3, and users should upgrade to one of these versions or later. As a workaround, resolve a relative reference against its absolute base first and normalize the absolute result instead of normalizing the reference beforehand.

※ 解説は NVD(米国 脆弱性データベース) の公表内容をもとにAIが生成しています。対象バージョン・修正版などの正確な情報は、必ず原文をご確認ください。

無料で相談する →