cve-ja
← 新着
CVE

認証なしで、Forwarded ヘッダーを偽装して接続元 IP を偽られるおそれ。

送信元の不適切な検証。対象は rails。

CVE-2026-126083GHSA-2gff-2mmg-m73p参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.4
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
11/19 時点
修正
未確認
ベンダーの告知を確認
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Rails を 8.1.4.1 以降に更新する
公開
2026年11月10日
最終更新
2026年11月11日
優先度の理由
特定構成のみ
最終確認
2026年11月19日
EPSS
0.36%
PoC
見つかっていない
攻撃の条件
ネット越し・ログイン不要・相手の操作は要らない・既定でない設定のとき
国内
まだ無い

概要

認証なしで、Forwarded ヘッダーを偽装して接続元 IP を偽られるおそれ。

元の説明(英語)を読む

Action Pack is a framework for handling and responding to web requests. From 8.1 until 8.1.4.1, Since Rails 8.1.0, ActionDispatch::RemoteIp derives request.remote_ip from Rack::Request#forwarded_for, which under Rack 3 reads the RFC 7239 Forwarded header in preference to X-Forwarded-For. When a reverse proxy appends the client address to X-Forwarded-For but passes a client-supplied Forwarded header through unchanged, request.remote_ip returns an address chosen by the client, and the IP spoofing check does not raise, because it compares only Client-Ip with the forwarded addresses. An unauthenticated attacker could therefore spoof request.remote_ip, possibly bypassing IP-based access controls and rate limits keyed on the client address (including the default by: of rate_limit), and falsifying the client address in logs. An application is affected if it meets all of these requirements: Runs Rails 8.1.0 through 8.1.4 with Rack 3. Under Rack 2.2, forwarded_for reads only X-Forwarded-For. Is served behind a proxy that does not remove or overwrite a client-supplied Forwarded header. Relies on request.remote_ip for access control, rate limiting, or auditing. The fix detects a spoofed Forwarded header only when the proxy also sets X-Forwarded-For. An application whose proxy passes a client-supplied Forwarded header through and sets no X-Forwarded-For remains exposed after upgrading, and should configure the proxy to remove or overwrite Forwarded, or apply the workaround below. This issue is fixed in version 8.1.4.1.

影響を受ける人

Rack 3 とプロキシ配下で Rails 8.1.0〜8.1.4 を使う人

対策

  • Rails を 8.1.4.1 以降に更新する
  • プロキシで Forwarded ヘッダーを削除・上書きする

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月10日・一次情報
脆弱性が公開された

影響する版

rails rails範囲は告知を確認