Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- python3.12-pulpcore
Version range not reported
- python3.12-pulpcore
Version range not reported
- python3.12-pulpcore
Version range not reported
- python-pulpcore
Version range not reported
- python-pulpcore
Version range not reported
- python-pulpcore
Version range not reported
- python3.12-pulpcore
Version range not reported
- python3.12-pulpcore
Version range not reported
- ansible-automation-platform-26/hub-rhel9
Version range not reported
- ansible-automation-platform-27/hub-rhel9
Version range not reported
- python-pulpcore
Version range not reported
- python-pulpcore
Version range not reported
- python-pulpcore-client
Version range not reported