脆弱性の一覧へ戻る
編集部の見出し:ansible-core の ansible-galaxy collection install:コレクションの namespace・name に「../」や絶対パスを書くと、置き場の外のフォルダーを消して書き込まれる
NVD の情報
A path traversal flaw was found in ansible-core. When installing a collection with ansible-galaxy collection install, the install destination directory is derived from the namespace and name fields declared inside the collection artifact's own metadata, which are not validated as well-formed collection identifiers or checked for path containment. A malicious collection artifact -- delivered as a local file, a remote URL, a source directory, a git repository, or as a dependency -- can use a crafted name value to redirect the install destination outside the configured collections path, causing ansible-galaxy to delete an existing directory writable by the invoking user and then write attacker-controlled files to that location.
- 公開日
- 2026-11-18
- 最終更新(NVD)
- 2026-11-18
- NVD の状態
- Awaiting Analysis
- 脆弱性の種類
- CWE-22
深刻度(CVSS)
- 8.1 HighCVSS 3.1/主/評価:secalert@redhat.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
解消方法
- 回避策(設定変更など)根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-18 のレポートansible-core の ansible-galaxy collection install:コレクションの namespace・name に「../」や絶対パスを書くと、置き場の外のフォルダーを消して書き込まれる
11/18 第12版で掲載したロールの件(CVE-2026-105929)の兄弟。コレクションのメタデータの namespace・name を検証せずに置き場のパスを組み立てる。ローカルのファイル・URL・git・依存のどれから来ても届く。Red Hat の評価で 8.1、修正版は未公表。
悪用状況(編集部):悪用の報告は確認されていない
公告に記載の回避策
- 信頼できる配布元のコレクションだけを入れる。入れる前に MANIFEST.json(collection_info)や galaxy.yml の namespace・name に区切りの文字・「..」・絶対パスがないかを確かめる。信頼できないリポジトリやミラーを指す requirements と依存を避ける。公告
参照(NVD)
NVD から取得:2026-11-18T04:50:20.549Z
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。