CVE-2026-12398: Galaxy_ng: shell injection in legacy role import via unsanitized git ref names
Red Hat · Red Hat Ansible Automation Platform 2
Affected: Red Hat Ansible Automation Platform 2 · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 59% of scored CVEs
DescriptionCVE.org
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.
Affected products9
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
- Red Hat · Red Hat Ansible Automation Platform 2Versions not stated
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2026-12398 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.