{"id":"CVE-2026-130644","published":"2026-11-18T03:35:19Z","modified":"2026-11-21T02:41:30Z","title":"Ansible-core: ansible-core: ansible-galaxy collection install path traversal via unvalidated artifact-derived…","vendor":"Red Hat","product":"Migration Toolkit for Applications 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0028,"percentile":0.20815,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-130644","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2574391","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.16},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]}],"workarounds":{"items":["Install collections only from trusted sources. Before installing a collection, or allowing its dependencies to be resolved automatically, review the source's MANIFEST.json (collection_info) or galaxy.yml metadata for a namespace or name value containing a path separator, '..' sequence, or an absolute path. Avoid installing collections from requirements files or dependency chains that reference untrusted repositories or mirrors."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-21T02:41:19.342797Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-128429","exploited":false,"provenance":"source"}}