Source: ansible-core
X-Debbugs-CC: [email protected]
Severity: important
Tags: security

Hi,

The following vulnerability was published for ansible-core.

CVE-2026-89091[0]:
| A flaw was found in ansible-core. When installing a collection with
| `ansible-galaxy collection install`, the archive extractor validates
| member paths using lexical path normalisation (os.path.abspath)
| instead of resolving symbolic links (os.path.realpath), and it
| performs no containment check on symlink-typed directory members
| before creating them. A crafted collection tarball can chain symlink
| directory entries so that a subsequent file member is written
| outside the intended destination directory. This allows an attacker
| who can get a victim to install a malicious collection to overwrite
| arbitrary files with the privileges of the user running ansible-
| galaxy, leading to code execution on the control node. This is a
| bypass of the fix for CVE-2020-10691.

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


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-89091
    https://www.cve.org/CVERecord?id=CVE-2026-89091

Please adjust the affected versions in the BTS as needed.

Reply via email to