#1154919 ansible-core: CVE-2026-105929

Package:
src:ansible-core
Source:
src:ansible-core
Submitter:
Moritz Mühlenhoff
Date:
2026-11-23 05:51:03 UTC
Severity:
normal
Tags:
#1154919#5
Date:
2026-11-22 22:42:12 UTC
From:
To:
Hi,

The following vulnerability was published for ansible-core.

CVE-2026-105929[0]:
| 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.

https://bugzilla.redhat.com/show_bug.cgi?id=2546288


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-105929
https://www.cve.org/CVERecord?id=CVE-2026-105929

Please adjust the affected versions in the BTS as needed.