6.7medium
Pulpcore: rbac permissions incorrectly assigned in tasks that create objects
- Severity
- 6.7medium CVSS:3.0 by redhat
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-9m5j-4xx9-44j9PYSEC-2026-1808
Description
A flaw was found in the Pulp package. When a role-based access control (RBAC) object in Pulp is set to assign permissions on its creation, it uses the `AutoAddObjPermsMixin` (typically the add_roles_for_object_creator method). This method finds the object creator by checking the current authenticated user. For objects that are created within a task, this current user is set by the first user with any permissions on the task object. This means the oldest user with model/domain-level task permissions will always be set as the current user of a task, even if they didn't dispatch the task. Therefore, all objects created in tasks will have their permissions assigned to this oldest user, and the creating user will receive nothing.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pulp | up to 3.56.0 | CVE List |
| python3x-pulpcore | Not specified | CVE List |
| python-pulpcore | Not specified | CVE List |
| pulpcore (PyPI) | up to 3.56.0 | GitHub Advisory Database, PyPA Advisory Database |
| pulpproject pulp | Not specified | NVD |
All scores
| redhat | 6.7medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
| GitHub | 6.7high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| NVD | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| PyPA Advisory Database | 6.7medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
A flaw was found in the Pulp package. When a role-based access control (RBAC) object in Pulp is set to assign permissions on its creation, it uses the `AutoAddObjPermsMixin` (typically the add_roles_for_object_creator method). This method finds the object creator by checking the current authenticated user. For objects that are created within a task, this current user is set by the first user with any permissions on the task object. This means the oldest user with model/domain-level task permissions will always be set as the current user of a task, even if they didn't dispatch the task. Therefore, all objects created in tasks will have their permissions assigned to this oldest user, and the creating user will receive nothing.
NVD (es)
Se encontró un defecto en el paquete Pulp. Cuando un objeto de control de acceso basado en roles (RBAC) en Pulp está configurado para asignar permisos en su creación, utiliza `AutoAddObjPermsMixin` (normalmente el método add_roles_for_object_creator). Este método encuentra al creador del objeto verificando el usuario autenticado actual. Para los objetos que se crean dentro de una tarea, este usuario actual lo establece el primer usuario con permisos en el objeto de la tarea. Esto significa que el usuario más antiguo con permisos de tareas a nivel de modelo/dominio siempre se configurará como el usuario actual de una tarea, incluso si no envió la tarea. Por lo tanto, todos los objetos creados en tareas tendrán sus permisos asignados a este usuario más antiguo y el usuario creador no recibirá nada.
References
| https://access.redhat.com/errata/RHSA-2024:6765 | vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2024-7143 | third-party-advisory, vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2300125 | issue-tracking, third-party-advisory, web | |
| https://github.com/advisories/GHSA-9m5j-4xx9-44j9 | advisory | |
| https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/pulpcore/tasking/_util.py#L108 | issue-tracking, web | |
| https://github.com/pulp/pulpcore/blob/main/CHANGES.md | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-7143 | advisory | |
| https://github.com/pulp/pulpcore | package | |
| https://pypi.org/project/pulpcore | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-7143 changed 2026-06-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9m5j-4xx9-44j9 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-7143 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1808 changed 2026-07-29 | CC-BY-4.0 |