English version →
カテゴリ
CVE-2026-55092 high CVSS 7.5

github.com/aquasecurity/trivy に パストラバーサル (CVE-2026-55092)

概要

github.com/aquasecurity/trivy に パストラバーサル (CVE-2026-55092) が存在。データの不正な改ざんを許す可能性があります。org.opencontainers.image.title 経由で攻撃可能。対策: 0.71.1 以上に更新。

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Summary

When Trivy downloads an OCI artifact, it uses the org.opencontainers.image.title annotation from the artifact manifest as the destination filename without validation. An attacker who can make Trivy fetch an attacker-controlled artifact can supply a crafted annotation that resolves to a path outside the intended destination, causing Trivy to write the layer content to an arbitrary location on the host filesystem.

Affected configurations

Exploitation requires the attacker to direct Trivy at an attacker-controlled OCI artifact via one of the following inputs:

Input Used for
--db-repository flag, TRIVY_DB_REPOSITORY environment variable, or db.repository in trivy.yaml Vulnerability database
--java-db-repository flag, TRIVY_JAVA_DB_REPOSITORY environment variable, or db.java-repository in trivy.yaml Java vulnerability database
--checks-bundle-repository flag (and the deprecated --policy-bundle-repository alias), TRIVY_CHECKS_BUNDLE_REPOSITORY environment variable, or misconfiguration.checks-bundle-repository in trivy.yaml Misconfiguration checks bundle
Repository argument to trivy module install WASM module installation

Realistic scenarios in which an attacker may influence these inputs include a copy-pasted command or documentation snippet pointing to an untrusted mirror, or a third-party mirror that turns out to be hostile.

Trivy's default configuration, which downloads these artifacts…

出典: NIST National Vulnerability Database NVD GitHub Advisory

自動生成の要約

取得元のデータ (CVSS・CWE・影響バージョンなど) から SecPulse が定型文で組み立てた要約です。AI は使っていません。正確な内容は下の原文と参照URLで確認してください。

github.com/aquasecurity/trivy という製品で、CVE-2026-55092 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに org.opencontainers.image.title のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
データの不正な改ざんを許す可能性があります。重要度は CVSS スコア 7.5/10 です。
対策: github.com/aquasecurity/trivy を 0.71.1 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「github.com/aquasecurity/trivy CVE-2026-55092」を検索してください。

CVE-2026-55092 (github.com/aquasecurity/trivy) — CWE-22 / CVSS v3 7.5
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 認証不要 / 被害者操作不要
脆弱箇所: org.opencontainers.image.title / TRIVY_DB_REPOSITORY / db.repository / trivy.yaml
修正バージョン: 0.71.1 (即時適用推奨)
暫定回避: If upgrading is not immediately possible, do not download Trivy artifacts (vulnerability database, Java database, misconfiguration checks bundle, modules, etc.) from OCI repositories you do not operate or trust.
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。

❓ 何が問題か

github.com/aquasecurity/trivy に パストラバーサル (CWE-22) があります。攻撃者は org.opencontainers.image.title を経由して脆弱な処理に到達し、認証なしで悪用できます。

📍 影響範囲

github.com/aquasecurity/trivy の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: org.opencontainers.image.title / TRIVY_DB_REPOSITORY / db.repository / trivy.yaml。

🔥 重要度

重要度: 重要 (CVSS 7.5/10)。データの不正な改ざんを許す可能性があります。

🔧 修正方法

0.71.1 に更新してください。

🛡️ 暫定回避

暫定回避: If upgrading is not immediately possible, do not download Trivy artifacts (vulnerability database, Java database, misconfiguration checks bundle, modules, etc.) from OCI repositories you do not operate or trust.

🔍 検知方法

Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。

対応アクション

SOC/SREチームが順番に実行すべき具体的なステップとコマンド例

  1. 1
    影響範囲の特定 identify
    grep -r 'github.com/aquasecurity/trivy' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/aquasecurity/trivy を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    暫定回避策の適用 mitigate
    If upgrading is not immediately possible, do not download Trivy artifacts (vulnerability database, Java database, misconfiguration checks bundle, modules, etc.) from OCI repositories you do not operate or trust.

    パッチが適用されるまでの応急処置として、If upgrading is not immediately possible, do not download Trivy artifacts (vulnerability database, Java database, misconfiguration checks bundle, modules, etc.) from OCI repositories you do not operate or trust. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    パッチ適用 patch
    Upgrade github.com/aquasecurity/trivy to 0.71.1

    ステージング環境で 0.71.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    事後検証 verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

影響パッケージ

go github.com/aquasecurity/trivy
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.71.1"}]}]

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく