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
57%
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 13× in last 7d / 92× 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 203 total refreshes for this CVE.

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

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 43.3% 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.