Distro advisory · AmazonLinux 2023
Important priority package update for ansible-core
AmazonLinux 2023
What it fixes
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities:
CVE-2026-89091:
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.
CVE-2026-84503: A flaw was found in ansible-core's ansible.builtin.git module. The module invokes git (ls-remote, clone, fetch) with the repository URL as a positional argument and without a "--" separator, so a repository URL that begins with a dash is interpreted by git as a command-line option. A caller that passes an attacker-controlled repository URL to the module can trigger argument injection (for example --upload-pack/--exec), resulting in arbitrary command execution on the host running the module.
Manual fix · AmazonLinux 2023
sudo yum updateinfo info ALAS2023-2026-3528sudo yum upgrade --advisory=ALAS2023-2026-3528rpm -q ansible-coreSources