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.

Project Subscriptions

Vendors Products
Ansible Automation Platform Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

The following practices would help for avoiding exposure to this flaw: 1) Prioritize the default JSON import format instead of YAML. 2) Avoid importing YAML files from untrusted sources.

History

Tue, 09 Jun 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 09 Jun 2026 10:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Awxkit: path traversal via yaml !include directive
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-22
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-06-09T16:09:38.839Z

Reserved: 2026-06-09T07:23:36.530Z

Link: CVE-2026-52902

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-09T10:16:44.830

Modified: 2026-06-09T13:49:39.993

Link: CVE-2026-52902

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-09T07:17:10Z

Links: CVE-2026-52902 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T12:00:04Z

Weaknesses