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.
CVE-2026-12398
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2026-06-16. a secondary CVSS source baseline 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(high)
- EPSS
- 55.0%
- KEV
- Not listed
Published
June 16, 2026
Last Modified
June 29, 2026
Advisory Details (2)
Auto-updated Jun 21, 20262489180 – (CVE-2026-12398) CVE-2026-12398 galaxy_ng: shell injection in legacy role import via unsanitized git ref names
https://bugzilla.redhat.com/show_bug.cgi?id=2489180Vendor Advisories for CVE-2026-12398(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| pip | galaxy-ng | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| galaxy-ng | 4.2.0 ... 4.9.2 (67 versions) | — | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 32× in last 7d / 101× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 101 total refreshes for this CVE.
- 2026-07-06 23:13 UTCEG score recompute
- 2026-07-06 23:13 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 22:56 UTCEG score recompute
- 2026-07-05 22:56 UTCGHSA enrichment
- 2026-07-05 10:24 UTCEG score recompute
- 2026-07-05 10:24 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 21:52 UTCEG score recompute
- 2026-07-04 21:52 UTCGHSA enrichment
- 2026-07-04 09:20 UTCEG score recompute
- 2026-07-04 09:20 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 13:48 UTCEG score recompute
- 2026-07-03 13:48 UTCGHSA enrichment
- 2026-07-02 21:55 UTCEG score recompute
- 2026-07-02 21:55 UTCGHSA enrichment
- 2026-07-02 09:23 UTCEG score recompute
- 2026-07-02 09:23 UTCGHSA enrichment
- 2026-07-01 20:51 UTCEG score recompute
- 2026-07-01 20:51 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-01 08:19 UTCEG score recompute
- 2026-07-01 08:19 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 19:47 UTCEG score recompute
- 2026-06-30 19:47 UTCGHSA enrichment
- 2026-06-30 07:15 UTCEG score recompute
- 2026-06-30 07:15 UTCGHSA enrichment
- 2026-06-29 18:43 UTCEG score recompute
- 2026-06-29 18:42 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 06:10 UTCEG score recompute
- 2026-06-29 06:10 UTCGHSA enrichment
- 2026-06-28 17:38 UTCEG score recompute
- 2026-06-28 17:38 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 05:06 UTCEG score recompute
- 2026-06-28 05:06 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 16:32 UTCEG score recompute
- 2026-06-27 16:32 UTCGHSA enrichment
- 2026-06-27 03:56 UTCEG score recompute
- 2026-06-27 03:56 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 15:24 UTCEG score recompute
- 2026-06-26 15:24 UTCGHSA enrichment
- 2026-06-26 02:53 UTCEG score recompute
- 2026-06-26 02:53 UTCGHSA enrichment
- 2026-06-25 14:21 UTCEG score recompute
- 2026-06-25 14:21 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 01:49 UTCEG score recompute
- 2026-06-25 01:49 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 13:17 UTCEG score recompute
- 2026-06-24 13:17 UTCGHSA enrichment
- 2026-06-24 00:44 UTCEG score recompute
- 2026-06-24 00:44 UTCGHSA enrichment
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 12:09 UTCEG score recompute
- 2026-06-23 12:09 UTCGHSA enrichment
- 2026-06-22 23:37 UTCEG score recompute
- 2026-06-22 23:37 UTCGHSA enrichment
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 11:04 UTCEG score recompute
- 2026-06-22 11:03 UTCGHSA enrichment
- 2026-06-21 22:14 UTCEG score recompute
- 2026-06-21 22:13 UTCGHSA enrichment
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 09:38 UTCEG score recompute
- 2026-06-21 09:38 UTCGHSA enrichment
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-20 20:50 UTCEG score recompute
- 2026-06-20 20:49 UTCGHSA enrichment
- 2026-06-20 08:16 UTCEG score recompute
- 2026-06-20 08:16 UTCGHSA enrichment
- 2026-06-19 19:43 UTCEG score recompute
- 2026-06-19 19:43 UTCGHSA enrichment
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 07:10 UTCEG score recompute
- 2026-06-19 07:10 UTCGHSA enrichment
- 2026-06-18 18:36 UTCEG score recompute
- 2026-06-18 18:36 UTCGHSA enrichment
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 06:04 UTCEG score recompute
- 2026-06-18 06:03 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 16:52 UTCEG score recompute
- 2026-06-17 16:51 UTCGHSA enrichment
- 2026-06-17 04:16 UTCEG score recompute
- 2026-06-17 04:16 UTCGHSA enrichment
- 2026-06-16 15:44 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-78
Frequently asked(5)
What is CVE-2026-12398?
When was CVE-2026-12398 disclosed?
Is CVE-2026-12398 actively exploited?
What is the CVSS score of CVE-2026-12398?
How do I remediate CVE-2026-12398?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-12398
Is Your Infrastructure Affected by CVE-2026-12398?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.