# CVE-2026-5138: Foreman: foreman: information disclosure via improper validation of nested request parameters

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-07-01T14:08:43.978Z
- Modified: 2026-11-26T22:17:59.953Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- foreman: 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.16 before 6.16.10; from 6.17 before 6.17.9; from 6.18 before 6.18.7; 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-5138> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2452971> (issue-tracking, vendor-advisory)

## Sources

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

---

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