Read the docs
TI-2026-10645 Aliases CVE-2026-12398GHSA-6hw7-j4jw-wpff

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

Priority LOW 37CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00889 59th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Ansible Automation Platform 2——Not affectedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
Red HatRed Hat Ansible Automation Platform 2——No fix listedCNA
—galaxy-ng (PyPI)up to 4.9.2—No fix listedGHSA-6hw7-j4jw-wpff
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • Red Hat Ansible Automation Platform 2 VendorRed Hat Affected — Fixed in — No fix listed CNA
  • galaxy-ng (PyPI) Vendor— Affected up to 4.9.2 Fixed in — No fix listed GHSA-6hw7-j4jw-wpff

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:/a:redhat:ansible_automation_platform:22—Red Hat
  • cpe:/a:redhat:ansible_automation_platform:2 Versions 2 — ·Red Hat

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Automation Platform 2AffectedNo fix yet
Not affected: 1 product
  • Red Hat Ansible Automation Platform 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-12398
  2. 2026-10-03 Alias added: GHSA-6hw7-j4jw-wpff

References

  • TI-2019-15875 Protection mechanism failure in Jenkins Pipeline: Groovy Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-15874 Protection mechanism failure in Jenkins Script Security Plugin KEVCVSS 3.1CRITICAL 9.9
  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-05363 Code injection in Elastic Kibana KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-03949 Out-of-bounds write in ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
See all 7413 →

Sources