NetSight
mittel6.7

CVE-2026-84503

Ansible-core: ansible-core: ansible.builtin.git invokes git without a `--` separator, allowing argument injection via a `-`-leading repository url (e.g. --upload-pack) -> rce

Auswirkung

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.

Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Produkte · Red Hat

ProduktBetroffene Versionen
Migration Toolkit for Applications 8
Alle Versionen
Migration Toolkit for Virtualization
Alle Versionen
Red Hat Ansible Automation Platform 2
Alle Versionen
Red Hat Satellite 6.17 for RHEL 9
Version patch: 1:2.16.19-4.el9sat
Red Hat Satellite 6.18 for RHEL 9
Version patch: 1:2.16.19-4.el9sat

Schwachstellenklasse

Referenzen