CVE-2026-12701
JSON

9.0critical

Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport

Severity
9.0critical CVSS:3.1 by redhat
Exploit likelihood
0.76% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
python3.12-pulpcoreNot specified
Not affected: from 0:3.49.63-2.el8ap before *, from 0:3.49.63-2.el9ap before *, from 0:3.73.30-2.el9pc before *, from 0:3.85.15-5.el9pc before *
CVE List
python-pulpcoreNot specified
Not affected: from 0:3.49.39-2.el8pc before *, from 0:3.49.39-2.el9pc before *, from 0:3.63.21-2.el9pc before *
CVE List
ansible-automation-platform-26/hub-rhel9Not specified
Not affected: from 1783979593 before *
CVE List
ansible-automation-platform-27/hub-rhel9Not specified
Not affected: from 1783919521 before *
CVE List
python-pulpcore-clientNot specifiedCVE List

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12701 changed 2026-11-02CVE Terms of Use
NVDCVE-2026-12701 changed 2026-07-22Public domain