Auth bypass in Theforeman Foreman
CVE-2026-5138
A flaw was found in Foreman. An authenticated user with host-edit permissions could exploit a cross-tenant information disclosure vulnerability. This flaw occurs because the taxonomy_scope controller method does not properly validate organization and location IDs from nested request parameters, bypassing existing authorization checks. This allows the user to leak sensitive infrastructure metadata, including subnet topology, IP ranges, gateways, DNS servers, and VLAN IDs, from organizations and locations they are not authorized to access.
Vulnerability class: IDOR (Insecure Direct Object Reference)
EPSS: 0.002 (16.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Theforeman Foreman
- Red Hat Satellite 6
- Red Hat Satellite 6.16 For Rhel 8 — versions 0:3.12.0.17-1.el8sat
- Red Hat Satellite 6.16 For Rhel 9 — versions 0:3.12.0.17-1.el9sat
- Red Hat Satellite 6.17 For Rhel 9 — versions 0:3.14.0.17-1.el9sat
- Red Hat Satellite 6.18 For Rhel 9 — versions 0:3.16.0.17-1.el9sat
- Red Hat Satellite 6.19 For Rhel 9 — versions 0:3.18.0.7-1.el9sat
- Redhat Enterprise_linux — versions 8.0, 9.0
- Redhat Satellite
Weakness classification (CWE)
References
- secalert@redhat.com (x_refsource_REDHAT, vdb-entry, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, issue-tracking, Issue Tracking, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory, Vendor Advisory)
- secalert@redhat.com (x_refsource_REDHAT, vendor-advisory, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-5138?
- CVE-2026-5138 is a medium-severity vulnerability in Theforeman Foreman, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 4.3/10. Published 2026-07-01.
- How severe is CVE-2026-5138?
- Medium severity. CVSS v3 base score is 4.3 out of 10.