proxy-addr の脆弱性 (CVE-2026-90711)
概要
proxy-addr に 脆弱性 (CVE-2026-90711) が存在。機密情報が外部に流出する可能性があります。req.ip 経由で攻撃可能。対策: 2.0.8 以上に更新。
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Impact
proxy-addr determines which network hops are trusted proxies so that X-Forwarded-For can be believed. When an application configures a trust subnet as an IPv4-mapped IPv6 address with a short prefix, such as ::ffff:10.0.0.0/8 (the correct spelling is ::ffff:10.0.0.0/104), the subnet compiles with all-zero leading bits and matches every IPv4 address instead of the block it names. The same happens for any IPv6 trust subnet with zero leading bits, such as ::/1.
Every unauthenticated client is then trusted as a proxy at hop 0, so proxyaddr(req, trust), and therefore req.ip and req.ips in Express, returns whatever the client sends in X-Forwarded-For. This defeats IP-based access control, rate limiting, geolocation, and audit logging. The misconfiguration compiles without any error, and the same block written correctly behaves correctly, so the difference is not visible from the configuration.
Patches
Upgrade to proxy-addr 2.0.8. An IPv4 address now matches an IPv6 trust subnet only when that subnet is a genuine IPv4-mapped subnet whose prefix covers the mapped marker.
Workarounds
Write IPv4 trust subnets in plain IPv4 notation (for example 10.0.0.0/8). If IPv4-mapped IPv6 notation is required, use the full form so the prefix covers the mapped marker (for example ::ffff:10.0.0.0/104 for the 10.0.0.0/8 block).
出典: NIST National Vulnerability Database NVD GitHub Advisory
自動生成の要約
取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。
proxy-addr という製品で、CVE-2026-90711 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに req.ip のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 9.1/10 です。
対策: proxy-addr を 2.0.8 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「proxy-addr CVE-2026-90711」を検索してください。
CVE-2026-90711 (proxy-addr) — CWE-290 / CVSS v3 9.1
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: req.ip / req.ips
修正バージョン: 2.0.8 (即時適用推奨)
暫定回避: Write IPv4 trust subnets in plain IPv4 notation (for example 10.0.0.0/8).
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
proxy-addr に 脆弱性 (CWE-290) があります。攻撃者は req.ip を経由して脆弱な処理に到達し、認証なしで悪用できます。
proxy-addr の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: req.ip / req.ips。
重要度: 最重要 (CVSS 9.1/10)。機密情報が外部に流出する可能性があります。
2.0.8 に更新してください。
暫定回避: Write IPv4 trust subnets in plain IPv4 notation (for example 10.0.0.0/8).
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1影響範囲の特定 identify
grep -r 'proxy-addr' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
proxy-addrを grep し、稼働しているサービス・バージョンを把握する。 -
2暫定回避策の適用 mitigate
Write IPv4 trust subnets in plain IPv4 notation (for example `10.0.0.0/8`).パッチが適用されるまでの応急処置として、Write IPv4 trust subnets in plain IPv4 notation (for example
10.0.0.0/8). を実施。回避策の副作用 (機能低下) を確認した上で。 -
3パッチ適用 patch
Upgrade proxy-addr to 2.0.8ステージング環境で 2.0.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4事後検証 verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
参照URL
- web cna.openjsf.org
- web github.com
- web nvd.nist.gov
- web github.com
- web github.com
- web github.com