{"id":"CVE-2026-105929","published":"2026-11-18T01:58:27Z","modified":"2026-11-23T14:24:04Z","title":"Ansible-core: ansible-galaxy role install path traversal via unvalidated role name allows file writes and directory…","vendor":"Red Hat","product":"Migration Toolkit for Applications 8","tier":"tail","description":{"text":"A path traversal vulnerability (CWE-22) was found in ansible-core's ansible-galaxy role installation. An explicit role \"name\" taken from a role's meta/requirements.yml is used to construct the on-disk installation path without validating that the resulting destination stays within the selected roles directory. A name containing \"../\" escapes that directory, and an absolute name replaces it entirely. Because ansible-galaxy processes transitive dependencies from an installed role's meta/requirements.yml, a malicious role publisher can cause attacker-supplied files to be written outside the operator's chosen roles directory when the operator installs the role, and, when --force is used, can cause an existing role directory outside that path to be removed and replaced. The impact is bounded by the invoking user's filesystem permissions and requires the operator to install the attacker-influenced content.","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.00343,"percentile":0.28092,"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-105929","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2546288","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":5.62},{"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 roles and collections only from trusted sources. Before installing a role, review its meta/requirements.yml (including transitive dependencies) for any \"name\" value containing \"../\" or an absolute path. Avoid using \"ansible-galaxy role install --force\" against untrusted content."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-18T21:32:54.766318Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-128411","exploited":false,"provenance":"source"}}