CVE-2026-52902
Awxkit: path traversal via yaml !include directive
Also known as GHSA-g29c-rgq6-gxgj, PYSEC-2026-3550
Mitigation
- 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.
Who should check
- Projects that depend on PyPI package awxkit (<= 24.6.1)
- Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
- Anyone running Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2.7 for RHEL 10 all versions
- Anyone running Red Hat Ansible Automation Platform 2.7 for RHEL 9 all versions
- Anyone running Red Hat Ansible Automation Platform 2 (versions: see the vendor advisory)
- Anyone running Red Hat Ansible Automation Platform 2 all versions
Vulnerability facts
- Affected
- awxkit <= 24.6.1
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-22
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-52902. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-52902.md Affected: awxkit <= 24.6.1 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for awxkit (PyPI), Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9, Red Hat Ansible Automation Platform 2.6 for RHEL 9, Red Hat Ansible Automation Platform 2.7 for RHEL 10, Red Hat Ansible Automation Platform 2.7 for RHEL 9: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-52902 being exploited?
There is no confirmed exploitation: CVE-2026-52902 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-52902?
Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-52902?
awxkit <= 24.6.1.
Is there a fix for CVE-2026-52902?
No fixed version is listed in the sources yet. 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.
How do I check if I'm affected by CVE-2026-52902?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.