CVE-2026-12701 PUBLISHED

Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport

Assigner: redhat
Reserved: 19.06.2026 Published: 20.07.2026 Updated: 20.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H
CVSS Score: 9

Product Status

Vendor Red Hat
Product Red Hat Ansible Automation Platform 2
Versions Default: affected
Vendor Red Hat
Product Red Hat Ansible Automation Platform 2
Versions Default: affected
Vendor Red Hat
Product Red Hat Ansible Automation Platform 2
Versions Default: affected
Vendor Red Hat
Product Red Hat Ansible Automation Platform 2
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Satellite 6
Versions Default: affected
Vendor Red Hat
Product Red Hat Satellite 6
Versions Default: affected
Vendor Red Hat
Product Red Hat Update Infrastructure 4 for Cloud Providers
Versions Default: affected
Vendor Red Hat
Product Red Hat Update Infrastructure 5
Versions Default: affected

Workarounds

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.

Credits

  • Red Hat would like to thank Martin Brodeur (Independent security researcher) for reporting this issue.

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE