Skip to main content

ansible-core CVE-2026-16493

| EUVDEUVD-2026-46336 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-07-21 redhat GHSA-m37p-hmh2-w6j2
7.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious git collection source URI
  2. Delivery
    Lure victim to install via ansible-galaxy
  3. Exploit
    git parses URI as injected argument
  4. Execution
    Execute arbitrary command as user
  5. Impact
    Compromise host in victim context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Exploitation requires that a victim actively run 'ansible-galaxy collection install' with an attacker-supplied git source URI (per AV:L/UI:R) - the vulnerable path is specifically the git-based collection install in _extract_collection_from_git(), so installs from Automation Hub, tarballs, or non-git sources are not affected. The attacker must control or influence the collection source URI (for example via a malicious requirements.yml, a poisoned documentation snippet, or a compromised internal source list) and craft it as a git argument-injection payload. Limiting factors: the flaw is local (no remote/network-reachable trigger), it demands victim action (UI:R) rather than autonomous exploitation, code runs only with the invoking user's privileges (Scope: Unchanged), and it does not apply to the already-hardened role install path fixed in CVE-2026-11332.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H yields 7.8 (High), and the metrics are internally consistent with the description: exploitation is local and requires no attacker privileges (PR:N) but does require the victim to actively run an install command (UI:R), producing full confidentiality, integrity, and availability impact in the victim's security context. No EPSS score, KEV entry, POC reference, or SSVC decision data was provided, so quantitative exploitation-probability and automation signals are unavailable and cannot be asserted. The realistic risk is meaningful but gated by a social-engineering/supply-chain precondition - the victim must be induced to install a collection from an attacker-chosen git source - rather than a remotely reachable service, so this is a targeted-vector issue rather than a mass-exploitable network flaw. Note a nuance defenders should verify: PR:N is technically correct (the attacker needs no credentials) yet exploitation depends entirely on victim action and the victim's own privileges, so raw scoring can overstate ease relative to the required user interaction.

Exploit ScenarioDerived

An attacker publishes or advertises a collection whose git source URI is crafted to begin with a git option payload (for example abusing option-style arguments or the ext:: transport) and persuades a developer or automation operator to install it. When the victim runs 'ansible-galaxy collection install' pointing at that source, git interprets the crafted URI as an argument and the attacker's command executes with the victim's privileges. No public exploit code was identified in the provided data, but the local, low-complexity nature of the flaw makes a working payload straightforward to construct.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

Arbitrary command execution in ansible-core allows an attacker who controls a collection source URI to run commands on a victim's machine when that victim executes 'ansible-galaxy collection install' against the malicious git source. The flaw lives in _extract_collection_from_git() in concrete_artifact_manager.py, which builds git clone commands without a '--' end-of-options separator, letting crafted URIs be parsed as git arguments. It is an incomplete fix for CVE-2026-11332, which patched the analogous role-install path but left the collection-install path exposed; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

No vendor-released patch version was identified in the provided data, so the primary action is to monitor and apply the Red Hat erratum referenced at https://access.redhat.com/security/cve/CVE-2026-16493 and track https://bugzilla.redhat.com/show_bug.cgi?id=2503724 for the fixed ansible-core package versions across RHEL 8/9/10, Ansible Automation Platform 2, and Satellite 6, then upgrade to those releases once published. As a compensating control until patched, do not run 'ansible-galaxy collection install' against untrusted or attacker-influenced git source URIs, and pin collection installs to vetted, trusted sources or Automation Hub/private Galaxy mirrors rather than arbitrary git URLs (trade-off: loses the convenience of ad-hoc git installs). Where feasible, review any requirements.yml or automation pipeline that accepts externally supplied collection sources and reject URIs beginning with '-' or using non-standard git transports such as ext::, and run galaxy installs under a low-privilege, sandboxed account to limit the blast radius of any injected command (trade-off: added operational friction in CI/CD).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

ansible-core is the execution engine underneath Ansible and Red Hat Ansible Automation Platform, and ansible-galaxy is its bundled content-management CLI used to fetch roles and collections, including directly from git repositories. When resolving a git-sourced collection, _extract_collection_from_git() assembles a 'git clone' invocation and interpolates the user-supplied source URI into the argument list. Because no '--' separator precedes the URI, a value beginning with '-' (for example an --upload-pack or --config style option, or ext:: transport tricks) is interpreted by git as an option rather than a positional URL. This is the CWE-88 (Argument Injection/Improper Neutralization of Argument Delimiters) root-cause class: the trust boundary between data (the repository location) and control (git's own flags) is not enforced, so attacker data is promoted to command options. The CPE set scopes this to Red Hat's packaged ansible-core across Red Hat Ansible Automation Platform 2, RHEL 8/9/10, and Red Hat Satellite 6.

Know when Red Hat Enterprise Linux 10 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Attacker needs no privileges (PR:N) but the victim must locally run the install command (AV:L/UI:R); injected command runs as that user with full C/I/A impact and no scope change.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.8 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

A flaw was found in ansible-core. The _extract_collection_from_git() function in ansible-core's concrete_artifact_manager.py constructs git clone commands without a '--' (end-of-options) separator before user-supplied URLs when installing collections from git sources. An attacker who provides a crafted collection source URI containing git argument injection payloads can achieve arbitrary command execution when a user runs 'ansible-galaxy collection install' with the malicious source. This is an incomplete fix for CVE-2026-11332, which hardened the role install path but missed the equivalent collection install code path.

Executive ViewAI

Why It Matters

Ansible-core contains an arbitrary command execution vulnerability in the ansible-galaxy collection installation workflow that allows attackers controlling malicious collection sources to execute commands on systems performing 'ansible-galaxy collection install'. Organizations using Ansible for infrastructure automation face direct risk of control-plane compromise through supply-chain attack; this vulnerability affects a critical deployment pathway with no patch currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict ansible-galaxy collection install operations to internal repository mirrors only; implement network-layer controls preventing collection installation systems from accessing external git sources; require all collections to be pre-validated and cached internally before use in playbooks; audit and disable any automation workflows that perform dynamic collection installation from untrusted URIs; consider temporary suspension of infrastructure provisioning workflows dependent on dynamic external collection installation until patched versions are released.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
High
core automation engine shipped across RHEL, Ansible Automation Platform, and Satellite
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_ansible_automation_platform_2:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected
SUSE Linux Enterprise Module for Systems Management 15 SP7 Affected
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Systems Management 15 SP6 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy