Skip to main content

ansible-core CVE-2026-105929

| EUVDEUVD-2026-128411 HIGH
Path Traversal (CWE-22)
2026-11-18 secalert@redhat.com GHSA-65g3-4m89-fc5m
8.1
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Publish malicious role with crafted requirements
  2. Delivery
    Operator installs role pulling transitive dependency
  3. Exploit
    Name with ../ or absolute path escapes roles directory
  4. Execution
    Write attacker files outside target path
  5. Impact
    Overwrite or delete external directory with --force

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the operator to install an attacker-influenced role via ansible-galaxy, and specifically depends on ansible-galaxy processing transitive dependencies declared in an installed role's meta/requirements.yml. The concrete trigger is a role 'name' value containing '../' (to escape the selected roles directory) or an absolute path (to replace it entirely), which is used to build the on-disk install path without validation. The destructive variant - removal and replacement of an existing directory outside the roles path - additionally requires the --force flag. Limiting factors: user interaction is mandatory (operator must initiate the install), there is no confidentiality impact, and all write/delete effects are bounded by the invoking user's filesystem permissions.

Impact

This is a genuine but operator-gated risk rather than a drive-by remote compromise. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H, base 8.1) reflects unauthenticated attacker-supplied content delivered over the network, but the UI:R flag is doing heavy lifting: exploitation requires an operator to actively install an attacker-influenced role via ansible-galaxy. The vuln.today Decision label is 'this_week' (prioritize, not emergency), which is consistent with a high-integrity-impact flaw that lacks confirmed active exploitation. No EPSS score, no CISA KEV listing, and no PoC/exploit reference are present in the supplied data - so there is no public exploit identified at time of analysis, and probability-of-exploitation signals are simply absent rather than low. The I:H/A:H with C:N is coherent with the mechanism: arbitrary file write and (with --force) deletion/replacement outside the roles directory, but no data disclosure. Net: a real priority for teams that pull roles and their transitive dependencies from untrusted publishers, but the UI:R gate and the bound of the invoking user's filesystem permissions keep it below emergency tier. Missing: any EPSS/KEV/PoC signal, so widespread opportunistic exploitation cannot be confirmed or ruled out from this data.

Exploit ScenarioDerived

A malicious publisher uploads a role whose meta/requirements.yml declares a transitive dependency with a 'name' containing ../ or an absolute path. When an operator installs the top-level role with ansible-galaxy, the attacker's files are written outside the chosen roles directory; if the operator uses --force, an existing directory outside that path can be removed and replaced. No public exploit code is identified in the provided sources, but the mechanism is straightforward and requires only that the operator install the attacker-influenced content.

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

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

Alert me

AnalysisAIv1 – Nov 18, 2026

ansible-galaxy role installation in ansible-core allows a malicious role publisher to write attacker-supplied files outside the operator's chosen roles directory-and, with --force, to delete and replace an existing directory outside that path-when the operator installs the role and transitive dependencies from meta/requirements.yml are processed. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H (8.1), but exploitation is operator-gated, requires user interaction, has no confidentiality impact, and is bounded by the invoking user's filesystem permissions; no public exploit identified at time of analysis and no CISA KEV entry was identified.

RemediationAI

No vendor-released patch or exact fixed version is identified in the available data; use the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-105929) and Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=2546288) to obtain authoritative fixed-version information before upgrading ansible-core. Until a fix is applied, the direct exposure control is to install only roles from trusted publishers and to review each role's meta/requirements.yml for role names containing '../' or absolute paths, including transitive dependencies; this reduces the chance of a malicious name being processed but does not fix the underlying path handling. Avoid using --force when installing untrusted or unreviewed roles, which blocks the directory-removal-and-replacement variant but not the out-of-directory file-write variant, and run ansible-galaxy under an account whose filesystem permissions limit where writes can land, which bounds impact to that user's accessible paths without removing the traversal.

Affected ProductsAI

ansible-core, specifically the ansible-galaxy role installation behavior that processes role names from meta/requirements.yml and resolves transitive dependencies. The provided data does not include exact affected version ranges or CPE strings; operators should treat ansible-core releases using this ansible-galaxy path-construction logic as potentially affected and confirm the fixed version in the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-105929 and the Red Hat Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2546288. No CPE identifiers were supplied in the available intelligence.

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-galaxy, the role and collection management component of ansible-core, builds on-disk installation paths from an explicit role name, including names declared in a role's meta/requirements.yml. The code does not verify that the resulting destination remains within the selected roles directory: a name containing '../' escapes that directory, while an absolute name replaces it entirely. This is a classic CWE-22 path traversal root cause in install-path construction. Because ansible-galaxy resolves and processes transitive dependencies from an installed role's meta/requirements.yml, a malicious role publisher can cause writes outside the operator's chosen roles directory during installation; with --force, the same mechanism can remove and replace an existing role directory outside that path. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H) reflects a network-reachable, unauthenticated path with mandatory user interaction, no confidentiality impact, and high integrity and availability impact; real-world effects are limited by the invoking user's filesystem permissions and require the operator to install attacker-influenced content.

Know when Ansible 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 8.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

Attacker-supplied role content is network-delivered (AV:N) with no attacker privileges (PR:N) but requires operator install (UI:R); arbitrary file write and --force deletion give I:H/A:H with no disclosure (C:N).

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A path traversal vulnerability (CWE-22) was found in ansible-core's ansible-galaxy role installation. An explicit role "name" taken from a role's meta/requirements.yml is used to construct the on-disk installation path without validating that the resulting destination stays within the selected roles directory. A name containing "../" escapes that directory, and an absolute name replaces it entirely. Because ansible-galaxy processes transitive dependencies from an installed role's meta/requirements.yml, a malicious role publisher can cause attacker-supplied files to be written outside the operator's chosen roles directory when the operator installs the role, and, when --force is used, can cause an existing role directory outside that path to be removed and replaced. The impact is bounded by the invoking user's filesystem permissions and requires the operator to install the attacker-influenced content.

Executive ViewAI

Why It Matters

CVE-2026-105929 in ansible-core allows a malicious role publisher to write or delete files outside the intended roles directory during installation, potentially compromising system integrity and availability. The vulnerability requires an operator to install a crafted role, so it is not remotely exploitable without user action. The risk is highest for teams that regularly install third-party roles from untrusted sources, as a successful exploit could disrupt critical automation workflows.

Business Impact: High
Compensating Controls

No vendor patch available at time of analysis. Interim mitigations include: restrict ansible-galaxy role installations to trusted publishers and verified sources; manually inspect meta/requirements.yml and role contents before installation; run installations with least-privilege filesystem permissions; use containerized or isolated environments for role installation to limit impact; and avoid using --force unless absolutely necessary.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
High
ansible-core/ansible-galaxy is widely used enterprise automation tooling
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor VulDB

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.5%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Related Vulnerabilities in ansible-core ansible-galaxy Path Traversal Flaws

View all 2
CVE-2015-1482 MEDIUM POC
5.0 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote attackers to bypass authentication and obtain sensitive inform

CVE-2015-1481 MEDIUM POC
6.5 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote organization administrators to gain privileges by creating a s

CVE-2015-1368 MEDIUM POC
4.3 Jan 27

Multiple cross-site scripting (XSS) vulnerabilities in Ansible Tower (aka Ansible UI) before 2.0.5 allow remote attacker

CVE-2019-10217 MEDIUM POC
6.5 Nov 25

A flaw was found in ansible 2.8.0 before 2.8.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit

CVE-2017-7550 CRITICAL
9.8 Nov 21

A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkin

CVE-2021-33924 CRITICAL
9.8 Sep 29

Confluent Ansible (cp-ansible) version 5.5.0, 5.5.1, 5.5.2 and 6.0.0 is vulnerable to Incorrect Access Control via its a

CVE-2020-1733 MEDIUM POC
5.0 Mar 11

A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a play

CVE-2014-3498 HIGH
8.8 Jun 08

The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands. Rated high seve

CVE-2026-89091 HIGH
8.8 Oct 08

Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax

CVE-2020-1735 MEDIUM POC
4.6 Mar 16

A flaw was found in the Ansible Engine when the fetch module is used. Rated medium severity (CVSS 4.6), this vulnerabili

CVE-2026-87874 HIGH
8.1 Sep 09

Remote code execution via unsafe Python pickle deserialization in the community.general Ansible collection's memcached f

CVE-2023-5764 HIGH
7.8 Dec 12

A template injection flaw was found in Ansible where a user's controller internal templating operations may remove the u

Vendor StatusVendor

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