## Action Pack: Possible IP spoofing in Action Dispatch RemoteIp

- 種別: advisory
- 重大度: high
- 関連技術: ruby, rails
- CVE: CVE-2026-126083
- 公開日時: 2026-11-10T21:20:06.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-2gff-2mmg-m73p)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-2gff-2mmg-m73p

影響: rubygems:actionpack >= 8.1.0.beta1, < 8.1.4.1 → 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 unaut…