Skip to content
High 8.1

Ansible-coreのansible-galaxyに悪意あるコレクションでファイルを書き換えられる脆弱性

CVE-2026-130644 First seen on SecPulse

Summary

ansible-coreのansible-galaxy collection installで、悪意あるコレクションを読み込ませると、インストール先をコレクションのパスの外に変えられます。その結果、実行したユーザーが書き込める既存のディレクトリが削除され、攻撃者が用意したファイルを書き込まれるおそれがあります。CVSSは8.1です。修正版の有無は事実に含まれていないため、最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

ansible-coreのansible-galaxy collection installで、悪意あるコレクションを読み込ませると、インストール先をコレクションのパスの外に変えられます。その結果、実行したユーザーが書き込める既存のディレクトリが削除され、攻撃者が用意したファイルを書き込まれるおそれがあります。CVSSは8.1です。修正版の有無は事実に含まれていないため、最新の情報を確認してください。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details