OS Command Injection Affecting automation-hub package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.89% (55th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-AUTOMATIONHUB-17352040
  • published17 Jun 2026
  • disclosed16 Jun 2026

Introduced: 16 Jun 2026

CVE-2026-12398  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 automation-hub.

NVD Description

Note: Versions mentioned in the description apply only to the upstream automation-hub package and not the automation-hub package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1