Skip to content
Connect AISign inSign up free
CVE-2026-123987.5HighCWE-78

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.

0.9%probability of exploitation in the next 30 days
59th percentile
050100

Higher than 59% of scored CVEs

7.5HighCVSS 3.1
LowHigh

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.

Open the Atlas
Exploitation
Unlikely (under 1%). EPSS under 1%, or no score yet.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
Red Hat
Published
June 2026

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.

References