CVE-2026-52902: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8
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.
AI Analysis
Technical Summary
The vulnerability in Red Hat Ansible Automation Platform 2's awxkit CLI tool involves improper limitation of a pathname to a restricted directory, specifically through the YAML !include directive. This directive fails to sanitize file paths, enabling an attacker to create a malicious YAML file that, when imported with the command "awx --conf.format yaml import", can read arbitrary YAML files from the local filesystem. Exploitation requires the user to import a crafted YAML file, making this a client-side vulnerability with limited attack vector scope.
Potential Impact
Successful exploitation allows an attacker to read arbitrary YAML-formatted files on the local filesystem of the client running the awx CLI tool. This can lead to disclosure of sensitive configuration or data files. The vulnerability does not allow code execution or modification of data, but the confidentiality impact is high. Exploitation requires user interaction and local access to run the import command with a malicious YAML file.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-52902 for current remediation guidance. Until an official fix is available, users should avoid importing YAML files from untrusted sources using the awx CLI tool to prevent exploitation. Monitor the vendor advisory for updates on patches or workarounds.
CVE-2026-52902: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8
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.
CVSS v3.1
Score 4.7medium
Affected software
Red Hat
Red Hat Ansible Automation Platform 2.5 for RHEL 8
Red Hat
Red Hat Ansible Automation Platform 2.5 for RHEL 9
Red Hat
Red Hat Ansible Automation Platform 2.6 for RHEL 9
Red Hat
Red Hat Ansible Automation Platform 2.7 for RHEL 10
Red Hat
Red Hat Ansible Automation Platform 2.7 for RHEL 9
Red Hat
Red Hat Ansible Automation Platform 2
Red Hat
Red Hat Ansible Automation Platform 2
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Red Hat Ansible Automation Platform 2's awxkit CLI tool involves improper limitation of a pathname to a restricted directory, specifically through the YAML !include directive. This directive fails to sanitize file paths, enabling an attacker to create a malicious YAML file that, when imported with the command "awx --conf.format yaml import", can read arbitrary YAML files from the local filesystem. Exploitation requires the user to import a crafted YAML file, making this a client-side vulnerability with limited attack vector scope.
Potential Impact
Successful exploitation allows an attacker to read arbitrary YAML-formatted files on the local filesystem of the client running the awx CLI tool. This can lead to disclosure of sensitive configuration or data files. The vulnerability does not allow code execution or modification of data, but the confidentiality impact is high. Exploitation requires user interaction and local access to run the import command with a malicious YAML file.
Mitigation Recommendations
Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-52902 for current remediation guidance. Until an official fix is available, users should avoid importing YAML files from untrusted sources using the awx CLI tool to prevent exploitation. Monitor the vendor advisory for updates on patches or workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-06-09T07:23:36.530Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-52902","vendor":"Red Hat"}]
Threat ID: 6a27e6ae8dd33fbd8514ca4d
Added to database: 06/09/2026, 10:10:54 UTC
Last enriched: 07/31/2026, 21:30:46 UTC
Last updated: 09/12/2026, 10:01:31 UTC
Views: 86
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.