CVE-2026-84503

medium

Description

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.

References

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120161

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

https://access.redhat.com/security/cve/CVE-2026-84503

Details

Source: Mitre, NVD

Published: 2026-11-09

Updated: 2026-11-09

Risk Information

CVSS v2

Base Score: 6

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 6.7

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Severity: Medium