Bug 2511900 (CVE-2026-71364) - CVE-2026-71364 awx: project archive extraction allows path traversal file writes
Summary: CVE-2026-71364 awx: project archive extraction allows path traversal file writes
Keywords:
Status: NEW
Alias: CVE-2026-71364
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-06 04:59 UTC by OSIDB Bzimport
Modified: 2026-08-24 16:27 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:59135 0 None None None 2026-08-24 16:26:22 UTC
Red Hat Product Errata RHSA-2026:59136 0 None None None 2026-08-24 16:27:07 UTC

Description OSIDB Bzimport 2026-08-06 04:59:39 UTC
The project_archive action plugin (awx/playbooks/action_plugins/project_archive.py) extracts zip and tar archive members without checking that the final destination remains under the project directory. Archive member names are joined directly with project_path after stripping a single root-directory prefix. No realpath, commonpath, absolute-path, or '..' component validation is performed before file creation. The vulnerable code path is:

dest = os.path.join(proj_path, filename[start_index:])
if is_dir:
    os.makedirs(dest)
else:
    with open(dest, 'wb') as f:
        f.write(member_f.read())

If an archive contains a member such as 'projroot/../../../../tmp/marker.txt', the computed path escapes the project directory. The extraction runs during project update when scm_type='archive'. An attacker who controls the archive content (compromised upstream, MITM on HTTP, or malicious URL) can write arbitrary files on the execution node as the AWX service user. In RPM-based deployments this runs on the host; in containerized deployments it runs inside the execution environment container.

Comment 2 errata-xmlrpc 2026-08-24 16:26:21 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.5 for RHEL 9
  Red Hat Ansible Automation Platform 2.5 for RHEL 8

Via RHSA-2026:59135 https://access.redhat.com/errata/RHSA-2026:59135

Comment 3 errata-xmlrpc 2026-08-24 16:27:06 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.6 for RHEL 9
  Red Hat Ansible Automation Platform 2.6 for RHEL 10

Via RHSA-2026:59136 https://access.redhat.com/errata/RHSA-2026:59136


Note You need to log in before you can comment on or make changes to this bug.