VulnWatch by ve1ve2
high 7.8 EPSS 0.27%

CVE-2026-16493: 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 with…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:

https://nvd.nist.gov/vuln/detail/CVE-2026-16493 ↗

CWE-88

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. References: https://access.redhat.com/errata/RHSA-2026:63385 https://access.redhat.com/errata/RHSA-2026:63386 https://access.redhat.com/errata/RHSA-2026:63387 https://access.redhat.com/security/cve/CVE-2026-16493 https://bugzilla.redhat.com/show_bug.cgi?id=2503724

Linked vulnerabilities (2)

CVE-2026-16493 high 7.8 EPSS 0.27% (p19) NVDCVE.org
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

CWE: CWE-88Aliases: CVE-2026-11332NVD: Awaiting Analysis
CVE-2026-11332 high 7.8 EPSS 0.22% (p13) NVDCVE.org
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

A flaw was found in ansible-core. The ansible-galaxy role install command processes dependency specifications from a role's meta/requirements.yml file. Due to improper neutralization of argument delimiters, a malicious role author can inject arbitrary git configuration flags through the src field. This allows arbitrary code execution on the machine of a user who installs the role via ansible-galaxy role install.

CWE: CWE-88NVD: Awaiting Analysis