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

Published Mar 30, 2026
·
Updated

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 taxonomyscope 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.

Other sources

Summary: A cross-tenant information disclosure flaw was found in Foreman. The taxonomyscope controller method does not validate organization and location IDs from nested request parameters against the current user's taxonomy memberships, bypassing the existing settaxonomy authorization check. This flaw allows an authenticated user with host-edit permissions to leak infrastructure metadata such as subnet topology, IP ranges, gateways, DNS servers, and VLAN IDs from organizations and locations they do not belong to.

Requirements to exploit: Authenticated Foreman account with createhosts or edithosts permission (or equivalent hostgroup permissions) in at least one organization. Attacker crafts a single HTTP request with a valid own-org ID at the top level and a foreign org ID in nested params.

Red Hat

Affected Software

12 affected components
the Foreman Project Foreman
All of the following
redhat Satellite>=6.16<6.16.10
Any of the following
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.17<6.17.9
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.18<6.18.7
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.19<6.19.2
redhat Enterprise Linux=9.0
theforeman foreman<3.18.2
theforeman foreman>=3.19.0<3.19.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.18.2Patch CVE-2026-5135
  2. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.18.2Patch CVE-2026-5136
  3. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.18.2Patch CVE-2026-5138
  4. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.19.1Patch CVE-2026-5142

Event History

Mar 30, 2026
Data Sourced
via Red Hat·10:53 AM
DescriptionSeverityAffected Software
Jul 1, 2026
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-5138?

The severity of CVE-2026-5138 is classified as medium with a score of 4.3.

2

What is CVE-2026-5138 about?

CVE-2026-5138 is an information disclosure vulnerability in Foreman due to improper validation of nested request parameters.

3

Who can exploit CVE-2026-5138?

An authenticated user with host-edit permissions can exploit CVE-2026-5138.

4

How do I fix CVE-2026-5138?

To fix CVE-2026-5138, ensure that the organization and location IDs from nested request parameters are properly validated in the taxonomy_scope controller method.

5

Which software is affected by CVE-2026-5138?

CVE-2026-5138 affects Red Hat Satellite and the Foreman Project's Foreman software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203