# CVE-2026-5142: Foreman: foreman: cross-tenant private ssh key disclosure via taxonomy scoping bypass

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-07-01T14:07:55.662Z
- Modified: 2026-11-26T22:18:00.167Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- foreman: from 1.15.0 before 3.18.2; from 3.19.0 before 3.19.1 (not affected: from 0:3.12.0.17-1.el8sat before *; from 0:3.12.0.17-1.el9sat before *; from 0:3.14.0.17-1.el9sat before *; from 0:3.16.0.17-1.el9sat before *; from 0:3.18.0.7-1.el9sat before *)
- satellite-capsule:el8/foreman: no versions given
- redhat satellite: from 6.18 before 6.18.7; from 6.16 before 6.16.10; from 6.17 before 6.17.9; from 6.19 before 6.19.2
- theforeman foreman: before 3.18.2; from 3.19.0 before 3.19.1

## References

- <https://access.redhat.com/errata/RHSA-2026:34365> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34366> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34367> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34368> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-5142> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2452999> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2026-5142](https://www.cve.org/CVERecord?id=CVE-2026-5142), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-5142](https://nvd.nist.gov/vuln/detail/CVE-2026-5142), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2026-5142 · Whole record: https://cve.day/CVE-2026-5142.json · Rebuilt by cve.day 2026-11-26T22:32:36.431Z
