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
| Produkt | Betroffene 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
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://access.redhat.com/security/cve/CVE-2026-84503
- https://bugzilla.redhat.com/show_bug.cgi?id=2527098
- https://github.com/advisories/GHSA-537w-5jw6-89cf
- https://nvd.nist.gov/vuln/detail/CVE-2026-84503
- https://access.redhat.com/errata/RHSA-2026:99950
- https://access.redhat.com/errata/RHSA-2026:99952