CVE-2026-12398

HIGHPre-NVD 7.57.5
EchelonGraph scoreHIGH confidence

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.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this week
7.5
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 1%CVSS: 7.5Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 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, 2026
Patch available. Sources: redhat.
redhat

2489180 – (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=2489180
redhat Patch Available

cve-details

https://access.redhat.com/security/cve/CVE-2026-12398

Vendor 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 / EcosystemFixed in / PatchReleasedSource
pipgalaxy-ngghsa

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)
PackageVulnerable rangeFixed inDependents
galaxy-ng4.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.

  1. 2026-07-06 23:13 UTCEG score recompute
  2. 2026-07-06 23:13 UTCGHSA enrichment
  3. 2026-07-06 16:27 UTCEPSS rescore
  4. 2026-07-06 02:23 UTCEPSS rescore
  5. 2026-07-05 22:56 UTCEG score recompute
  6. 2026-07-05 22:56 UTCGHSA enrichment
  7. 2026-07-05 10:24 UTCEG score recompute
  8. 2026-07-05 10:24 UTCGHSA enrichment
  9. 2026-07-05 02:30 UTCEPSS rescore
  10. 2026-07-05 02:30 UTCEPSS rescore
  11. 2026-07-04 21:52 UTCEG score recompute
  12. 2026-07-04 21:52 UTCGHSA enrichment
  13. 2026-07-04 09:20 UTCEG score recompute
  14. 2026-07-04 09:20 UTCGHSA enrichment
  15. 2026-07-04 06:31 UTCEPSS rescore
  16. 2026-07-03 13:48 UTCEG score recompute
  17. 2026-07-03 13:48 UTCGHSA enrichment
  18. 2026-07-02 21:55 UTCEG score recompute
  19. 2026-07-02 21:55 UTCGHSA enrichment
  20. 2026-07-02 09:23 UTCEG score recompute
  21. 2026-07-02 09:23 UTCGHSA enrichment
  22. 2026-07-01 20:51 UTCEG score recompute
  23. 2026-07-01 20:51 UTCGHSA enrichment
  24. 2026-07-01 15:06 UTCEPSS rescore
  25. 2026-07-01 15:06 UTCEPSS rescore
Show 75 more
  1. 2026-07-01 08:19 UTCEG score recompute
  2. 2026-07-01 08:19 UTCGHSA enrichment
  3. 2026-06-30 23:22 UTCEPSS rescore
  4. 2026-06-30 19:47 UTCEG score recompute
  5. 2026-06-30 19:47 UTCGHSA enrichment
  6. 2026-06-30 07:15 UTCEG score recompute
  7. 2026-06-30 07:15 UTCGHSA enrichment
  8. 2026-06-29 18:43 UTCEG score recompute
  9. 2026-06-29 18:42 UTCGHSA enrichment
  10. 2026-06-29 14:06 UTCEPSS rescore
  11. 2026-06-29 06:10 UTCEG score recompute
  12. 2026-06-29 06:10 UTCGHSA enrichment
  13. 2026-06-28 17:38 UTCEG score recompute
  14. 2026-06-28 17:38 UTCGHSA enrichment
  15. 2026-06-28 14:07 UTCEPSS rescore
  16. 2026-06-28 05:06 UTCEG score recompute
  17. 2026-06-28 05:06 UTCGHSA enrichment
  18. 2026-06-28 04:56 UTCEPSS rescore
  19. 2026-06-28 04:56 UTCEPSS rescore
  20. 2026-06-27 16:32 UTCEG score recompute
  21. 2026-06-27 16:32 UTCGHSA enrichment
  22. 2026-06-27 03:56 UTCEG score recompute
  23. 2026-06-27 03:56 UTCGHSA enrichment
  24. 2026-06-27 03:08 UTCEPSS rescore
  25. 2026-06-26 15:24 UTCEG score recompute
  26. 2026-06-26 15:24 UTCGHSA enrichment
  27. 2026-06-26 02:53 UTCEG score recompute
  28. 2026-06-26 02:53 UTCGHSA enrichment
  29. 2026-06-25 14:21 UTCEG score recompute
  30. 2026-06-25 14:21 UTCGHSA enrichment
  31. 2026-06-25 13:49 UTCEPSS rescore
  32. 2026-06-25 01:49 UTCEG score recompute
  33. 2026-06-25 01:49 UTCGHSA enrichment
  34. 2026-06-24 14:05 UTCEPSS rescore
  35. 2026-06-24 13:17 UTCEG score recompute
  36. 2026-06-24 13:17 UTCGHSA enrichment
  37. 2026-06-24 00:44 UTCEG score recompute
  38. 2026-06-24 00:44 UTCGHSA enrichment
  39. 2026-06-23 21:32 UTCEPSS rescore
  40. 2026-06-23 12:09 UTCEG score recompute
  41. 2026-06-23 12:09 UTCGHSA enrichment
  42. 2026-06-22 23:37 UTCEG score recompute
  43. 2026-06-22 23:37 UTCGHSA enrichment
  44. 2026-06-22 14:25 UTCEPSS rescore
  45. 2026-06-22 14:25 UTCEPSS rescore
  46. 2026-06-22 11:04 UTCEG score recompute
  47. 2026-06-22 11:03 UTCGHSA enrichment
  48. 2026-06-21 22:14 UTCEG score recompute
  49. 2026-06-21 22:13 UTCGHSA enrichment
  50. 2026-06-21 14:56 UTCEPSS rescore
  51. 2026-06-21 14:56 UTCEPSS rescore
  52. 2026-06-21 09:38 UTCEG score recompute
  53. 2026-06-21 09:38 UTCGHSA enrichment
  54. 2026-06-21 01:59 UTCEPSS rescore
  55. 2026-06-21 01:59 UTCEPSS rescore
  56. 2026-06-20 20:50 UTCEG score recompute
  57. 2026-06-20 20:49 UTCGHSA enrichment
  58. 2026-06-20 08:16 UTCEG score recompute
  59. 2026-06-20 08:16 UTCGHSA enrichment
  60. 2026-06-19 19:43 UTCEG score recompute
  61. 2026-06-19 19:43 UTCGHSA enrichment
  62. 2026-06-19 19:25 UTCEPSS rescore
  63. 2026-06-19 07:10 UTCEG score recompute
  64. 2026-06-19 07:10 UTCGHSA enrichment
  65. 2026-06-18 18:36 UTCEG score recompute
  66. 2026-06-18 18:36 UTCGHSA enrichment
  67. 2026-06-18 17:52 UTCEPSS rescore
  68. 2026-06-18 06:04 UTCEG score recompute
  69. 2026-06-18 06:03 UTCGHSA enrichment
  70. 2026-06-17 17:53 UTCEPSS rescore
  71. 2026-06-17 16:52 UTCEG score recompute
  72. 2026-06-17 16:51 UTCGHSA enrichment
  73. 2026-06-17 04:16 UTCEG score recompute
  74. 2026-06-17 04:16 UTCGHSA enrichment
  75. 2026-06-16 15:44 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-12398?
CVE-2026-12398 is a high vulnerability published on June 16, 2026. A command injection vulnerability was found in galaxyng. The dogitcheckout() 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…
When was CVE-2026-12398 disclosed?
CVE-2026-12398 was first published in the National Vulnerability Database on June 16, 2026, with the most recent update on June 29, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-12398 actively exploited?
CVE-2026-12398 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 55.0% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-12398?
CVE-2026-12398 has a CVSS v3 base score of 7.5 (NVD).
How do I remediate CVE-2026-12398?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-12398, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-12398

Explore →

Is Your Infrastructure Affected by CVE-2026-12398?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.