9.0Critical

CVE-2026-12701Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport

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 Plat… Published: (3 months ago)

Description

A path traversal vulnerability was found in pulpcore. The relative_path_validator function only verifies that content paths do not begin with "/" but fails to block directory traversal sequences such as "../" anywhere in the path. An authenticated administrator can craft a relative_path containing embedded traversal sequences (e.g., "looking/normal/../../../../etc/shadow") that escapes the intended export directory during FilesystemExport operations. Because the file content is also user-controlled (uploaded artifact), this allows arbitrary file write to any location writable by the Pulp service user, potentially leading to service compromise or further system exploitation.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
ansible automation platform 2.5 —
ansible automation platform 2.6 —
ansible automation platform 2.7 —
ansible automation platform developer 2.5 —
ansible automation platform developer 2.6 —
ansible automation platform inside 2.5 —
ansible automation platform inside 2.6 —
Red Hat Red Hat Ansible Automation Platform 2 —
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 8 all versions
Red Hat Red Hat Ansible Automation Platform 2.5 for RHEL 9 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 all versions
Red Hat Red Hat Ansible Automation Platform 2.6 for RHEL 9 all versions
Red Hat Red Hat Ansible Automation Platform 2.7 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 8 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.17 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.18 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.19 for RHEL 9 all versions
Red Hat Red Hat Update Infrastructure 4 for Cloud Providers all versions
Red Hat Red Hat Update Infrastructure 5 all versions
rhui 4 —
rhui 5 —
satellite 6.16 —
satellite 6.17 —
satellite 6.18 —
satellite 6.19 —
satellite capsule 6.16 —
satellite capsule 6.17 —
satellite capsule 6.18 —
satellite capsule 6.19 —
satellite utils 6.16 —
satellite utils 6.17 —
satellite utils 6.18 —
satellite utils 6.19 —

References and patches