CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.5). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2026-12398 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12398?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12398?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12398 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6hw7-j4jw-wpff | PyPI | galaxy-ng | <=4.9.2 | no fix published |
| PYSEC-2026-2486 | PyPI | galaxy-ng | <=4.9.2 | no fix published |
Red Hat rates this Moderate.
Red Hat Ansible Automation Platform ships galaxy_ng with GALAXY_ENABLE_LEGACY_ROLES set to False by default in all supported versions (2.4, 2.5, 2.6). When this setting is False, the vulnerable v1 API endpoint is not registered and returns a 404 response, making the vulnerability unreachable. Standard AAP deployments are not affected. Customers who have explicitly enabled legacy role support (GALAXY_ENABLE_LEGACY_ROLES=True) should apply the mitigation steps above until a fix is available.
The following practices would help for avoiding exposure and mitigate this flaw:
1. Ensure that GALAXY_ENABLE_LEGACY_ROLES is set to False (the default) in your Galaxy/Hub configuration. This prevents the v1 API routes from being registered, making the vulnerable endpoint entirely unreachable.
2. If legacy role support must be enabled, restrict access to the Galaxy/Hub API to trusted users only. The vulnerability requires authentication, so limiting who can authenticate reduces exposure.
3. Monitor import activity for suspicious git references containing shell metacharacters in branch or tag names.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/hub-rhel8 | Not affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/hub-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/hub-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/hub-rhel9 | Affected | |
| Red Hat Ansible Automation Platform 2 | automation-hub | Affected | |
| Red Hat Ansible Automation Platform 2 | python3.11-galaxy-ng | Under investigation | |
| Red Hat Ansible Automation Platform 2 | python3.12-galaxy-ng | Under investigation | |
| Red Hat Ansible Automation Platform 2 | python3x-galaxy-ng | Under investigation | |
| Red Hat Ansible Automation Platform 2 | python-galaxy-ng | Under investigation |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12398.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.