What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Ansible Automation Platform 2.5 for RHEL 8 0:3.49.63-2.el8ap; Red Hat Ansible Automation Platform 2.5 for RHEL 9 0:3.49.63-2.el9ap; Red Hat Ansible Automation Platform 2.6 1783979593; Red Hat Ansible Automation Platform 2.6 for RHEL 9 0:3.49.63-2.el9ap; Red Hat Ansible Automation Platform 2.7 1783919521; Red Hat Satellite 6.16 for RHEL 8 0:3.49.39-2.el8pc; Red Hat Satellite 6.16 for RHEL 9 0:3.49.39-2.el9pc; Red Hat Satellite 6.17 for RHEL 9 0:3.63.21-2.el9pc; Red Hat Satellite 6.18 for RHEL 9 0:3.73.30-2.el9pc; Red Hat Satellite 6.19 for RHEL 9 0:3.85.15-5.el9pc. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-12701 or the next vulnerability affects your stack