Описание
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.
Отчет
This vulnerability is rated as Important severity because an authenticated administrator can achieve arbitrary file write outside the intended export directory with fully attacker-controlled content. The FilesystemExport API is restricted to admin-level users (in Satellite, authenticated via SSL certificate; in standalone RBAC deployments, admin role only). The Pulp process runs as the "pulp" system user (not root), and file permission bits cannot be controlled by the attacker. However, the "pulp" user typically has write access to service-critical paths, and attack vectors such as cron.d entries (text-parsed, no exec bit required) or overwriting Pulp configuration remain viable depending on filesystem permissions and SELinux policy. Red Hat Satellite and Red Hat Ansible Automation Hub ship pulpcore and are affected. RHUI is not affected because end users do not have access to Pulp content creation APIs.
Меры по смягчению последствий
There is no complete mitigation for this vulnerability. The following measures can reduce risk:
- If FilesystemExport was never configured on your deployment, you are not affected by this issue.
- 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.
- Restrict admin-level access to the Pulp API to only trusted operators. Review and audit which accounts have administrator privileges.
- Ensure SELinux is in enforcing mode on Satellite/Pulp servers to limit the directories the Pulp service user can write to.
- Monitor filesystem changes outside of expected Pulp directories for signs of exploitation.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | python-pulpcore | Not affected | ||
| Red Hat Update Infrastructure 4 for Cloud Providers | python-pulpcore | Will not fix | ||
| Red Hat Update Infrastructure 5 | python-pulpcore-client | Affected | ||
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | python3.12-pulpcore | Fixed | RHSA-2026:42078 | 20.07.2026 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | python3.12-pulpcore | Fixed | RHSA-2026:42078 | 20.07.2026 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | python3.12-pulpcore | Fixed | RHSA-2026:42079 | 20.07.2026 |
| Red Hat Satellite 6.16 for RHEL 8 | python-pulpcore | Fixed | RHSA-2026:42082 | 20.07.2026 |
| Red Hat Satellite 6.16 for RHEL 8 | python-pulpcore | Fixed | RHSA-2026:42082 | 20.07.2026 |
| Red Hat Satellite 6.16 for RHEL 9 | python-pulpcore | Fixed | RHSA-2026:42082 | 20.07.2026 |
| Red Hat Satellite 6.16 for RHEL 9 | python-pulpcore | Fixed | RHSA-2026:42082 | 20.07.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
9 Critical
CVSS3
Связанные уязвимости
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.
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.
EPSS
9 Critical
CVSS3