Skip to main content
EPSS 0.1%top 97%

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

0
Medium
Published: 06/09/2026 (06/09/2026, 09:33:40 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: 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

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N

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

AILast updated: 07/31/2026, 21:30:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses