Skip to main content
EPSS 0.2%top 94%

A flaw was found in ansible-core. (CVE-2026-16493)

0
High
Published: 07/21/2026 (07/21/2026, 18:31:03 UTC)
Source: GCVE Database

Description

A command injection vulnerability exists in ansible-core's _extract_collection_from_git() function due to improper construction of git clone commands without an end-of-options separator before user-supplied URLs. This allows an attacker to execute arbitrary commands when a user runs 'ansible-galaxy collection install' with a crafted malicious source URI. This issue is an incomplete fix for a previous vulnerability (CVE-2026-11332) affecting the role install path. The vulnerability has a high severity with a CVSS score of 7.8. Red Hat has released security advisories and updates addressing this flaw as part of their Satellite 6.18 and 6.19 releases.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:22:07 UTC

Technical Analysis

The vulnerability (CVE-2026-16493) in ansible-core arises from the _extract_collection_from_git() function in concrete_artifact_manager.py, which constructs git clone commands without including the '--' end-of-options separator before user-supplied URLs. This omission enables an attacker to inject arbitrary git command arguments via a crafted collection source URI, leading to arbitrary command execution when 'ansible-galaxy collection install' is run. This vulnerability is an incomplete fix of CVE-2026-11332, which addressed a similar argument injection issue in the role install path but missed the collection install code path. The issue has been rated with a CVSS 3.1 score of 7.8 (high severity) with impact on confidentiality, integrity, and availability. Red Hat Satellite 6.18 and 6.19 updates include patches that fix this vulnerability. The vendor advisory explicitly lists this fix and provides instructions for applying the update.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary commands on the system where 'ansible-galaxy collection install' is run with a malicious collection source URI. This can lead to full compromise of the affected system, impacting confidentiality, integrity, and availability. The vulnerability is rated high severity with a CVSS score of 7.8. There are no known exploits in the wild at the time of the advisory.

Mitigation Recommendations

Red Hat has released official patches for this vulnerability in ansible-core as part of Red Hat Satellite 6.18 and 6.19 updates. Users should apply these updates promptly to remediate the issue. The vendor advisory provides detailed instructions for updating affected systems. No additional mitigations are specified beyond applying the official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-m37p-hmh2-w6j2
Osv Schema Version
1.4.0
Aliases
["CVE-2026-16493"]
Database Specific Severity
HIGH
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a9ad4f0acd9273b49b6787f

Added to database: 09/04/2026, 14:25:52 UTC

Last enriched: 09/07/2026, 15:22:07 UTC

Last updated: 10/18/2026, 18:48:18 UTC

Views: 72

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses