CVE-2026-12398

HIGHPre-NVD 7.57.5
EchelonGraph scoreMEDIUM 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.5EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1%CVSS: 7.5Exploit: None knownExposed: 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(medium)
EG Risk
34(Track)
EG Risk 34/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity75% × 45%
Exploitation1% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
1%
EPSS %ILE
56%
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 14× in last 7d / 72× 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 111 total refreshes for this CVE.

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

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 1% probability of exploitation in the next 30 days, which ranks it in the top 44.4% of all scored CVEs.
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.