i18next-fs-backendにパストラバーサルの脆弱性、任意のファイルを読み書きされるおそれ
概要
i18next-fs-backendの2.6.4より前のバージョンでは、lngやnsの値を細工すると、想定外の場所にあるファイルを読み取られたり上書きされたりするおそれがあります。ユーザーが言語を指定できるWebアプリでは、リクエストのパラメータひとつで攻撃される可能性があります。2.6.4以降に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
i18next-fs-backend という製品で、CVE-2026-41693 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに lng のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 8.2/10 です。
対策: i18next-fs-backend を 2.6.4 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「i18next-fs-backend CVE-2026-41693」を検索してください。
CVE-2026-41693 (i18next-fs-backend) — CWE-22 / CVSS v3 8.2
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: lng / loadPath / addPath / read
修正バージョン: 2.6.4 (即時適用推奨)
暫定回避: No workaround short of upgrading.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
i18next-fs-backend に パストラバーサル (CWE-22) があります。攻撃者は lng を経由して脆弱な処理に到達し、認証なしで悪用できます。
i18next-fs-backend の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: lng / loadPath / addPath / read。
重要度: 重要 (CVSS 8.2/10)。機密情報が外部に流出する可能性があります。
2.6.4 に更新してください。
暫定回避: No workaround short of upgrading.
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'i18next-fs-backend' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
i18next-fs-backendを grep し、稼働しているサービス・バージョンを把握する。 -
2
暫定回避策の適用mitigate
No workaround short of upgrading.パッチが適用されるまでの応急処置として、No workaround short of upgrading. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
パッチ適用patch
Upgrade i18next-fs-backend to 2.6.4ステージング環境で 2.6.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| npmi18next-fs-backend |
2.6.4 未満→ 2.6.4 |
2.6.4 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
i18next-fs-backend is a backend layer for i18next using in Node.js and for Deno to load translations from the filesystem. Prior to version 2.6.4, i18next-fs-backend substitutes the lng and ns options directly into the configured loadPath / addPath templates and then read / write the resulting file from disk. The interpolation is unencoded and unvalidated, so a crafted lng or ns value — containing .., a path separator, a control character, a prototype key, or simply an unexpectedly long string — allows an attacker who can influence either value to read or overwrite files outside the intended locale directory. When lng / ns are derived from untrusted input (request-scoped i18next instances behind an HTTP layer such as i18next-http-middleware, or any framework that lets the end user pick the language via query string, cookie, or header), a single request such as ?lng=../../../../etc/passwd causes the backend to attempt to read that path. This issue has been patched in version 2.6.4.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com