{"id":"CVE-2026-12701","published":"2026-07-20T14:18:18Z","modified":"2026-11-02T17:14:10Z","title":"Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport","vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01194,"percentile":0.68785,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:42078","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42079","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42082","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42132","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42142","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42150","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42151","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:42240","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12701","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2490703","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":13.76},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.5 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2.6 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","versions":["all versions"]}],"workarounds":{"items":["There is no complete mitigation for this vulnerability. The following measures can reduce risk: 1. If FilesystemExport was never configured on your deployment, you are not affected by this issue. 2. If FilesystemExporters exist in the database, audit them for path traversal sequences (\"../\"). Existing malicious entries must be cleaned up manually, as the validation functions documented to raise ValidationError do not actually do so in all code paths. 3. Restrict admin-level access to the Pulp API to only trusted operators. Review and audit which accounts have administrator privileges. 4. Ensure SELinux is in enforcing mode on Satellite/Pulp servers to limit the directories the Pulp service user can write to. 5. Monitor filesystem changes outside of expected Pulp directories for signs of exploitation."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T18:13:39.913416Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45954","exploited":false,"provenance":"source"}}