Skip to main content

awxkit CVE-2026-52902

| EUVDEUVD-2026-35389 MEDIUM
Path Traversal (CWE-22)
2026-06-09 redhat GHSA-g29c-rgq6-gxgj
4.7
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Craft YAML with !include path traversal sequences
  2. Delivery
    Deliver malicious file to victim's filesystem
  3. Exploit
    Victim runs awx --conf.format yaml import
  4. Execution
    awxkit parses !include without path sanitization
  5. Persist
    Traversal path resolved against local filesystem
  6. Impact
    Sensitive YAML-structured file contents exposed

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 all of the following: (1) the victim must have awxkit installed as part of Red Hat Ansible Automation Platform 2; (2) the victim must execute awx --conf.format yaml import explicitly using the --conf.format yaml flag, which activates YAML parsing with !include support - this is not the default CLI invocation mode; (3) the YAML file being imported must be attacker-controlled or attacker-influenced, meaning the victim was socially engineered or supplied a malicious file; (4) because AV:L, the malicious file must already exist on the victim's local filesystem at the time of the import command. Limiting factors that reduce real-world risk beyond the CVSS score: the attack is entirely client-side with no network exploitation path, high attack complexity (AC:H) reflects the social engineering and file delivery prerequisites, and the vulnerability only reads files that are YAML-parseable - binary files or non-YAML structured files will not yield usable output. The attack does not grant code execution, persistence, or write access.

Impact

The CVSS 4.7 Medium score accurately captures real-world risk here. The vector AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N decomposes as follows: local attack vector (attacker cannot exploit this remotely without first delivering a file), high attack complexity (attacker must craft a valid malicious YAML and convince a user to import it), no attacker privileges required, but user interaction is mandatory. The confidentiality impact is High - successful exploitation can expose arbitrary YAML-structured files (e.g., AWX credentials, SSH config, API tokens stored in YAML format) - but there is no integrity or availability risk. No EPSS score was provided in available data, precluding probabilistic exploitation comparison. No CISA KEV listing and no POC code identified at time of analysis, reinforcing this as a lower-urgency but genuine disclosure risk in developer or operator workflows where importing external YAML configs is routine. The primary realistic risk vector is supply-chain-adjacent: a malicious AWX export/config shared through a community repo or helpdesk ticket.

Exploit ScenarioDerived

An attacker crafts a YAML file containing one or more !include directives referencing sensitive local paths such as !include ../../../../home/user/.ssh/config or !include ../../../etc/awx/credentials.yaml, then delivers it to an AWX operator via a forum post, Slack message, GitHub gist, or phishing email framed as a helpful automation template. When the operator runs awx --conf.format yaml import malicious.yaml, awxkit resolves the traversal paths and reads the targeted files, potentially surfacing their contents in CLI output or logs accessible to the attacker. No public POC code is identified, but the technique is straightforward to implement given the description.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 09, 2026

Path traversal in awxkit's YAML !include directive exposes arbitrary local files when a user imports a crafted YAML file via the AWX CLI. Affecting Red Hat Ansible Automation Platform 2, the vulnerability (CWE-22) allows an unauthenticated attacker who can deliver a malicious YAML file to a victim to read arbitrary YAML-formatted files from that user's local filesystem - including potentially sensitive configuration, credential, or key material files - without any write or execution capability. No public exploit identified at time of analysis; CVSS 4.7 reflects the real-world constraints of local attack vector, high complexity, and mandatory user interaction.

RemediationAI

No explicit patched version is identified in currently available data - the advisory references (https://access.redhat.com/security/cve/CVE-2026-52902 and https://bugzilla.redhat.com/show_bug.cgi?id=2486729) should be monitored for an official fix release from Red Hat. Until a patch is available, the primary compensating control is operational: do not run awx --conf.format yaml import against YAML files obtained from untrusted sources, shared repositories, or external parties. If awxkit usage requires importing external configs, inspect YAML files manually for !include directives before importing - specifically checking for path traversal sequences (../) in any !include arguments. Organizations should enforce a policy that AWX YAML imports only occur from files generated internally or cryptographically verified. Note that these controls depend on user discipline and are not enforcement-layer mitigations; they do not eliminate the underlying flaw.

Affected Packages

pypi awxkit no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

awxkit is the Python-based CLI tool bundled with AWX and Red Hat Ansible Automation Platform 2 (CPE: cpe:2.3:a:red_hat:red_hat_ansible_automation_platform_2). It uses a custom YAML !include directive to allow configuration composition at import time. The root cause (CWE-22 - Improper Limitation of a Pathname to a Restricted Directory) is the absence of path canonicalization or allowlist validation on the argument passed to !include before it is resolved against the local filesystem. When the CLI processes awx --conf.format yaml import, it parses the YAML and blindly follows any !include path, including those containing sequences such as ../../ that traverse outside the intended directory. The attack surface is entirely client-side: the parsing happens in the context of the user executing the CLI, not on a server, which is why CVSS reflects a local (AV:L) attack vector.

Know when Red Hat Ansible Automation Platform 2 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 4.7 MEDIUM
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
Red Hat 4.7 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A path traversal vulnerability was found in awxkit, the CLI tool for AWX. The YAML !include directive does not sanitize file paths, allowing an attacker to craft a malicious YAML file that reads arbitrary YAML-formatted files from the local filesystem when a user imports it using "awx --conf.format yaml import". This is a client-side vulnerability requiring user interaction.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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.

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_ansible_automation_platform_2:*:*:*:*:*:*:*:*
CVE-2026-84719 CRITICAL
9.9 Sep 23

Missing authorization checks in the Red Hat Ansible Automation Platform 2 automation-controller allow an authenticated o

CVE-2026-84502 CRITICAL
9.9 Sep 23

Authenticated users who hold permission to create or modify a project within a single organization can execute arbitrary

CVE-2026-84474 CRITICAL
9.9 Sep 23

Privilege escalation and remote code execution on managed hosts is possible in Red Hat Ansible Automation Platform 2 bec

CVE-2026-11807 CRITICAL
9.6 Jun 23

Credential disclosure in Red Hat Ansible Automation Platform 2.5 and 2.6 allows any authenticated user to retrieve plain

CVE-2026-12564 CRITICAL
9.6 Aug 18

Server-side request forgery in the Red Hat Ansible Automation Platform 2 Controller's HashiCorp Vault credential plugin

CVE-2026-75884 CRITICAL
9.1 Sep 23

Privilege escalation in Red Hat Ansible Automation Platform 2 (built on the AWX upstream project) lets an authenticated

CVE-2026-12701 CRITICAL
9.0 Jul 20

Arbitrary file write in pulpcore's FilesystemExport feature allows an authenticated administrator to escape the intended

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-2026-84683 HIGH
8.7 Sep 23

Stored cross-site scripting in the automation-controller component of Red Hat Ansible Automation Platform 2 lets an auth

CVE-2026-84691 HIGH
8.7 Sep 23

An authenticated automation-controller administrator in Red Hat Ansible Automation Platform 2 can turn the administrator

CVE-2026-92982 HIGH
8.5 Oct 15

Jinja2 template injection in Ansible Operator Plugins (CWE-1336) lets an authenticated Kubernetes user who can create or

CVE-2026-76648 HIGH
8.5 Sep 23

Missing object-level authorization in the JobTemplate copy endpoint (CopyAPIView) of AWX and Red Hat Ansible Automation

Vendor StatusVendor

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