<Vulnerability name="CVE-2026-52902">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-06-09T07:17:10</PublicDate>
    <Bugzilla id="2486729" url="https://bugzilla.redhat.com/show_bug.cgi?id=2486729" xml:lang="en:us">
awxkit: path traversal via YAML !include directive
    </Bugzilla>
    <CVSS3 status="verified">
        <CVSS3BaseScore>4.7</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-22</CWE>
    <Details xml:lang="en:us" source="Mitre">
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.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
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.
    </Details>
    <Statement xml:lang="en:us">
awxkit as a bundled Python dependency found in ee-supported and platform-resource-runner containers for ansible-automation-platform and as part of the automation-controller RPM.
    </Statement>
    <Acknowledgement xml:lang="en:us">
Red Hat would like to thank FORIMOC, Yuremin, and invoke1442 for reporting this issue.
    </Acknowledgement>
    <Mitigation xml:lang="en:us">
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.
    </Mitigation>
    <AffectedRelease cpe="cpe:/a:redhat:ansible_automation_platform:2.5::el8">
        <ProductName>Red Hat Ansible Automation Platform 2.5 for RHEL 8</ProductName>
        <ReleaseDate>2026-08-24T00:00:00Z</ReleaseDate>
        <Advisory type="RHSA" url="https://access.redhat.com/errata/RHSA-2026:59135">RHSA-2026:59135</Advisory>
        <Package name="automation-controller">automation-controller-0:4.6.32-1.el8ap</Package>
    </AffectedRelease>
    <AffectedRelease cpe="cpe:/a:redhat:ansible_automation_platform:2.5::el9">
        <ProductName>Red Hat Ansible Automation Platform 2.5 for RHEL 9</ProductName>
        <ReleaseDate>2026-08-24T00:00:00Z</ReleaseDate>
        <Advisory type="RHSA" url="https://access.redhat.com/errata/RHSA-2026:59135">RHSA-2026:59135</Advisory>
        <Package name="automation-controller">automation-controller-0:4.6.32-1.el9ap</Package>
    </AffectedRelease>
    <AffectedRelease cpe="cpe:/a:redhat:ansible_automation_platform:2.6::el9">
        <ProductName>Red Hat Ansible Automation Platform 2.6 for RHEL 9</ProductName>
        <ReleaseDate>2026-08-24T00:00:00Z</ReleaseDate>
        <Advisory type="RHSA" url="https://access.redhat.com/errata/RHSA-2026:59136">RHSA-2026:59136</Advisory>
        <Package name="automation-controller">automation-controller-0:4.7.16-1.el9ap</Package>
    </AffectedRelease>
    <AffectedRelease cpe="cpe:/a:redhat:ansible_automation_platform:2.7::el10">
        <ProductName>Red Hat Ansible Automation Platform 2.7 for RHEL 10</ProductName>
        <ReleaseDate>2026-08-24T00:00:00Z</ReleaseDate>
        <Advisory type="RHSA" url="https://access.redhat.com/errata/RHSA-2026:59137">RHSA-2026:59137</Advisory>
        <Package name="automation-controller-cli">automation-controller-cli-0:4.8.6-1.el10ap</Package>
    </AffectedRelease>
    <AffectedRelease cpe="cpe:/a:redhat:ansible_automation_platform:2.7::el9">
        <ProductName>Red Hat Ansible Automation Platform 2.7 for RHEL 9</ProductName>
        <ReleaseDate>2026-08-24T00:00:00Z</ReleaseDate>
        <Advisory type="RHSA" url="https://access.redhat.com/errata/RHSA-2026:59137">RHSA-2026:59137</Advisory>
        <Package name="automation-controller-cli">automation-controller-cli-0:4.8.6-1.el9ap</Package>
    </AffectedRelease>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-24/ee-supported-rhel8</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-24/ee-supported-rhel9</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-24/platform-resource-runner-rhel8</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-25/ee-supported-rhel8</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-25/ee-supported-rhel9</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-25/platform-resource-runner-rhel8</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-26/ee-supported-rhel9</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Under investigation</FixState>
        <PackageName>ansible-automation-platform-26/platform-resource-runner-rhel9</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Affected</FixState>
        <PackageName>ansible-automation-platform-27/ee-supported-rhel9</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:ansible_automation_platform:2">
        <ProductName>Red Hat Ansible Automation Platform 2</ProductName>
        <FixState>Affected</FixState>
        <PackageName>ansible-automation-platform-27/platform-resource-runner-rhel9</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-52902
https://nvd.nist.gov/vuln/detail/CVE-2026-52902
    </References>
</Vulnerability>