CVE-2026-52902: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Red Hat Red Hat Ansible Automation Platform 2
CVE-2026-52902 is a path traversal vulnerability in awxkit, the CLI tool for Red Hat Ansible Automation Platform 2. The issue arises because the YAML !include directive does not properly sanitize file paths, allowing an attacker to craft a malicious YAML file that can read arbitrary YAML-formatted files from the local filesystem when imported using the awx CLI. This is a client-side vulnerability that requires user interaction to exploit.
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
Description
CVE-2026-52902 is a path traversal vulnerability in awxkit, the CLI tool for Red Hat Ansible Automation Platform 2. The issue arises because the YAML !include directive does not properly sanitize file paths, allowing an attacker to craft a malicious YAML file that can read arbitrary YAML-formatted files from the local filesystem when imported using the awx CLI. This is a client-side vulnerability that requires user interaction to exploit.
CVSS v3.1
Score 4.7medium
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
- Remediation Level
- null
- 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: 07/31/2026, 21:30:46 UTC
Views: 62
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.