CVE-2026-12398
Last modified
CVE-2026-12398 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.89% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Ansible Automation Platform 2 | All versions |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-12398?
How severe is CVE-2026-12398?
How do I fix CVE-2026-12398?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12391An insecure symlink following vulnerability exists in Canoni…5
- CVE-2026-12393The WPS Bookings for WooCommerce WordPress plugin before 3.1…5.4
- CVE-2026-12394The MemberGlut WordPress plugin before 1.1.5 does not valid…9.8
- CVE-2026-12395The WP Job Portal WordPress plugin before 2.5.5 does not pr…6.5
- CVE-2026-12396The WP Job Portal WordPress plugin before 2.5.5 does not pe…5.4
- CVE-2026-12397The WP Job Portal WordPress plugin before 2.5.5 does not ve…4.3
- CVE-2026-12399The Gutenverse – WordPress Blocks, Page Builder & Site Edito…4.4
- CVE-2026-12400The FlowForms – Conversational Form Builder plugin for WordP…4.3
- CVE-2026-12404The NEX-Forms – Ultimate Forms Plugin for WordPress plugin f…5.3
- CVE-2026-12406The User Frontend: AI Powered Frontend Posting, User Directo…5.3
- CVE-2026-12407The E2Pdf – Export Pdf Tool for WordPress plugin for WordPre…8.8
- CVE-2026-12408The Slim SEO – A Fast & Automated SEO Plugin For WordPress p…4.3
Are you affected by CVE-2026-12398?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
