CVE-2026-84503

NameCVE-2026-84503
DescriptionA 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.
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 Bugs1153548

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ansible-core (PTS)bookworm2.14.18-0+deb12u2vulnerable
trixie2.19.11-0+deb13u1vulnerable
forky, sid2.22.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansible-coresource(unstable)2.22.0-11153548

Notes

[trixie] - ansible-core <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=2527098
https://github.com/ansible/ansible/pull/87762
Fixed by: https://github.com/ansible/ansible/commit/7ecbc0b885ca31a461198ca0d9280452d5a87b7b (v2.22.0rc2)
Fixed by: https://github.com/ansible/ansible/commit/31d3c7e77b3c75b6e67d21d3626f7a6a83d5eeac (v2.19.15rc1)

Search for package or bug name: Reporting problems