← Übersicht Ansible / Ansible Automation Platform, Red Hat Enterprise Linux

Galaxy_ng: shell injection in legacy role import via unsanitized git ref names

CVE-2026-12398 · GHSA-6hw7-j4jw-wpff · PYSEC-2026-2486

Hoch · CVSS 7.5 Red Hat: Moderate Netzwerk · mit Login Kein Fix bekannt

Veröffentlicht
16.06.2026
Zuletzt geändert
05.11.2026
EPSS (30 Tage)
0.9 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

A command injection vulnerability was found in galaxy_ng. The do_git_checkout() function in the legacy role import API (v1) interpolates unsanitized git ref names (branch/tag names) into shell commands executed via subprocess.run() with shell=True. An authenticated user who controls a git repository can create a branch or tag with shell metacharacters in the name to achieve remote code execution on the pulp worker. The vulnerable endpoint is only reachable when GALAXY_ENABLE_LEGACY_ROLES is set to True, which is not the default configuration.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 1 betroffen, 1 in prüfung, 1 nicht betroffen.

Red Hat Ansible Automation Platform 2 BetroffenFix ausstehend ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform-27/hub-rhel9, automation-hub
Red Hat Ansible Automation Platform 2 In Prüfung python-galaxy-ng, python3.11-galaxy-ng, python3.12-galaxy-ng, python3x-galaxy-ng
Nicht betroffen (1)
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-24/hub-rhel8

Betroffene Pakete im beobachteten Stack

Red Hat:ansible_automation_platform:2automation-hubkein Fix bekanntCVE-2026-12398
Weitere betroffene Pakete (2)
PyPIgalaxy-ngkein Fix bekanntGHSA-6hw7-j4jw-wpff
PyPIgalaxy-ngkein Fix bekanntPYSEC-2026-2486

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.