CVE-2026-52902 json
Awxkit: path traversal via yaml !include directive
published 2026-06-09 5 mo ago modified 2026-11-05 3 d ago also GHSA-g29c-rgq6-gxgj , PYSEC-2026-3550 , EUVD-2026-35389
- cvss
- 4.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 0:4.6.32-1.el8ap
- Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 0:4.6.32-1.el9ap
- Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 0:4.7.16-1.el9ap
- Red Hat Red Hat Ansible Automation Platform 2.7 for RHEL 10 0:4.8.6-1.el10ap
- Red Hat Red Hat Ansible Automation Platform 2.7 for RHEL 9 0:4.8.6-1.el9ap
- python-django ansible automation platform developer 2.7, ansible automation platform developer 2.6, ansible automation platform 2.7 +1 more 5.2.17-1.el10ap
- python3-django ansible automation platform developer 2.7, ansible automation platform developer 2.6, ansible automation platform 2.7 +1 more 5.2.17-1.el10ap
- python3.12-django ansible automation platform developer 2.7, ansible automation platform developer 2.6, ansible automation platform developer 2.5 +3 more 5.2.17-1.el9ap
- automation-controller-cli ansible automation platform 2.7 4.8.6-1.el10ap
- automation-controller-cli ansible automation platform 2.7 4.8.6-1.el9ap
- python3.12-django ansible automation platform developer 2.5, ansible automation platform 2.5 5.2.17-1.el8ap
- python3.12-aiohttp ansible automation platform 2.5 3.14.3-1.el8ap
- python3.12-aiohttp ansible automation platform 2.6, ansible automation platform 2.5 3.14.3-1.el9ap
red hat advisories RHSA-2026:59137RHSA-2026:59135RHSA-2026:59136
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-52902 updated cvss 4.7
awxkit: path traversal via YAML !include directive
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-27/ee-supported-rhel9, ansible-automation-platform-27/platform-resource-runner-rhel9affected: workaround, no fix available “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.”
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-24/ee-supported-rhel8, ansible-automation-platform-24/ee-supported-rhel9, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/ee-supported-rhel9, ansible-automation-platform-26/ee-supported-rhel9, ansible-automation-platform-24/platform-resource-runner-rhel8, +2 moreunder investigation
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-controller-cli 4.6.32-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-cli 4.6.32-1.el9apfixed: vendor fix “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.” RHSA-2026:59135
-
Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-controller-cli 4.7.16-1.el9apfixed: vendor fix “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.” RHSA-2026:59136
-
Red Hat Ansible Automation Platform 2.7 for RHEL 9 automation-controller-cli 4.8.6-1.el9ap Red Hat Ansible Automation Platform 2.7 for RHEL 10 automation-controller-cli 4.8.6-1.el10apfixed: vendor fix “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.” RHSA-2026:59137
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-hub 4.10.18-1.el8ap, python3.12-django 5.2.17-1.el8ap, python3.12-aiohttp 3.14.3-1.el8ap, python3.12-gitpython 3.1.59-1.el8ap, automation-controller 4.6.32-1.el8ap, python3.12-galaxy-ng 4.10.18-1.el8ap, +11 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-hub 4.10.18-1.el9ap, python3.12-django 5.2.17-1.el9ap, python3.12-aiohttp 3.14.3-1.el9ap, python3.12-gitpython 3.1.59-1.el9ap, automation-controller 4.6.32-1.el9ap, python3.12-galaxy-ng 4.10.18-1.el9ap, +11 more Red Hat Ansible Automation Platform 2.6 for RHEL 9 molecule 26.8.0-1.el9ap, ansible-lint 26.8.0-1.el9ap, python3.12-nh3 0.3.6-1.el9ap, ansible-creator 26.8.0-1.el9ap, automation-hub 4.11.13-1.el9ap, ansible-dev-tools 26.8.0-1.el9ap, +37 more Red Hat Ansible Automation Platform 2.6 for RHEL 10 molecule 26.8.0-1.el10ap, ansible-lint 26.8.0-1.el10ap, python-django 5.2.17-1.el10ap, python3-django 5.2.17-1.el10ap, ansible-creator 26.8.0-1.el10ap, ansible-dev-tools 26.8.0-1.el10ap, +7 more Red Hat Ansible Automation Platform 2.7 for RHEL 9 molecule 26.8.0-1.el9ap, ansible-lint 26.8.0-1.el9ap, ansible-creator 26.8.0-2.el9ap, ansible-dev-tools 26.8.0-1.el9ap, ansible-navigator 26.8.0-2.el9ap, python3.12-django 5.2.17-1.el9ap, +4 more Red Hat Ansible Automation Platform 2.7 for RHEL 10 molecule 26.8.0-1.el10ap, ansible-lint 26.8.0-1.el10ap, python-django 5.2.17-1.el10ap, python3-django 5.2.17-1.el10ap, ansible-creator 26.8.0-2.el10ap, ansible-dev-tools 26.8.0-1.el10ap, +7 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | awxkit | <=24.6.1 |
no fix listed |
Affected products
- 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
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
access.redhat.com
/errata/RHSA-2026:59135
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:59136
vendor-advisory
-
access.redhat.com
/errata/RHSA-2026:59137
vendor-advisory
-
access.redhat.com
/security/cve/CVE-2026-52902
vdb-entry, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2486729
issue-tracking, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-52902
advisory
-
github.com
/ansible/awx
package
-
pypi.org
/project/awxkit
package
-
github.com
/advisories/GHSA-g29c-rgq6-gxgj
advisory
Sources
- CVE List CVE-2026-52902
- GitHub Advisory GHSA-g29c-rgq6-gxgj
- NVD CVE-2026-52902
- OSV PYSEC-2026-3550
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.