Auth bypass in Theforeman Foreman
CVE-2026-5142
A flaw was found in foreman. Authenticated users with 'view_keypairs' permission can bypass taxonomy scoping, allowing them to download private SSH (Secure Shell) keys from other organizations by directly querying key pair IDs. This vulnerability leads to cross-tenant data exposure in multi-tenant deployments, potentially compromising sensitive information.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 39.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-5142 (vdb-entry, Vendor Advisory)
- RHBZ#2452999 (issue-tracking, Issue Tracking, Vendor Advisory)
- RHSA-2026:34367 (vendor-advisory, Vendor Advisory)
- RHSA-2026:34368 (vendor-advisory, Vendor Advisory)
- RHSA-2026:34365 (vendor-advisory, Vendor Advisory)
- RHSA-2026:34366 (vendor-advisory, Vendor Advisory)