PT-2026-49716 · Red Hat · Red Hat Ansible Automation Platform 2
Chris Meyers
·
Published
2026-06-16
·
Updated
2026-06-16
·
CVE-2026-12398
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
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.
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Red Hat Ansible Automation Platform 2