Pulpcore Path Traversal in FilesystemExport Enables Arbitrary File Write
CVE-2026-12701 Published on July 20, 2026
Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport
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.
Vulnerability Analysis
CVE-2026-12701 can be exploited with network access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a high impact on integrity and availability.
Timeline
Reported to Red Hat.
Made public. 87 days later.
Weakness Type
What is a Directory traversal Vulnerability?
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CVE-2026-12701 has been classified to as a Directory traversal vulnerability or weakness.
Products Associated with CVE-2026-12701
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Red Hat Ansible Automation Platform 2.5 for RHEL 8:- Version 0:3.49.63-2.el8ap and below * is unaffected.
- Version 0:3.49.63-2.el9ap and below * is unaffected.
- Version 0:3.49.63-2.el9ap and below * is unaffected.
- Version 0:3.49.39-2.el8pc and below * is unaffected.
- Version 0:3.49.39-2.el8pc and below * is unaffected.
- Version 0:3.49.39-2.el9pc and below * is unaffected.
- Version 0:3.49.39-2.el9pc and below * is unaffected.
- Version 0:3.63.21-2.el9pc and below * is unaffected.
- Version 0:3.63.21-2.el9pc and below * is unaffected.
- Version 0:3.73.30-2.el9pc and below * is unaffected.
- Version 0:3.73.30-2.el9pc and below * is unaffected.
- Version 0:3.85.15-5.el9pc and below * is unaffected.
- Version 0:3.85.15-5.el9pc and below * is unaffected.
- Version 1783979593 and below * is unaffected.
- Version 1783919521 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.