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
Share

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
qualitative
Red Hat
7.8 HIGH
qualitative

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

Lifecycle Timeline

2
Analysis Generated
Jul 21, 2026 - 18:02 vuln.today
CVE Published
Jul 21, 2026 - 17:26 cve.org
HIGH 7.8

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.

AnalysisAI

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.

Technical ContextAI

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.

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).

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-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-5121 HIGH
7.5 Mar 30

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

CVE-2026-28369 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel

CVE-2026-28368 CRITICAL
9.1 Mar 27

HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls

CVE-2026-33845 CRITICAL
9.1 Apr 30

Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege

CVE-2026-28367 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow allows remote unauthenticated attackers to send `\r\r\r` as a header block terminator

CVE-2026-16526 HIGH
8.8 Jul 30

Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe

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

Share

CVE-2026-16493 vulnerability details – vuln.today

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