Vulnerability · Published Jul 20, 2026 · Assigned by redhat
CVE-2026-12701Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport
Critical 9.0
In plain English
A critical-severity path traversal in Red Hat Ansible Automation Platform 2 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities).
Official 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 (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H
References
- RHSA-2026:42078 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:42079 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:42082 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:42132 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:42142 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:42150 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:42151 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:42240 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-12701 vdb-entry, x_refsource_REDHAT
- RHBZ#2490703 issue-tracking, x_refsource_REDHAT