CVE-2026-11332

NameCVE-2026-11332
DescriptionA flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1139175

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ansible (PTS)bullseye2.10.7+merged+base+2.10.17+dfsg-0+deb11u1vulnerable
bullseye (security)2.10.7+merged+base+2.10.17+dfsg-0+deb11u4vulnerable
bookworm7.7.0+dfsg-3+deb12u1fixed
trixie12.0.0+dfsg-0+deb13u1fixed
forky, sid14.0.0+dfsg-1fixed
ansible-core (PTS)bookworm2.14.18-0+deb12u2vulnerable
trixie2.19.4-0+deb13u1vulnerable
forky2.20.3-1vulnerable
sid2.21.1~rc1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansiblesource(unstable)5.4.0-1
ansible-coresource(unstable)2.21.1~rc1-11139175

Notes

[trixie] - ansible-core <no-dsa> (Minor issue)
[bookworm] - ansible-core <no-dsa> (Minor issue)
[bookworm] - ansible <postponed> (Minor issue)
ansible-core was split off from src:ansible with 4.6.0-1 in experimental/5.4.0-1 in sid
https://bugzilla.redhat.com/show_bug.cgi?id=2485379
https://github.com/ansible/ansible/pull/87070
Fixed by: https://github.com/ansible/ansible/commit/edee59aa15abcc74d920bb3e9c3835ab8db05a2f

Search for package or bug name: Reporting problems