CVE-2026-5138: Foreman Cross-Tenant Information Disclosure via Authorization Bypass
Foreman, Red Hat's infrastructure management platform, contains a flaw that allows authenticated users with basic host-editing permissions to bypass authorization controls and view sensitive network configuration data from other organizations and locations. An attacker could extract subnet layouts, IP address ranges, gateway configurations, DNS server details, and VLAN assignments belonging to infrastructure they should not have access to. The vulnerability requires valid credentials and existing permissions to exploit, limiting its immediate blast radius, but it creates a significant cross-tenant data leakage risk in multi-tenant deployments.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses (CWE)
- CWE-639
- Affected products
- 4 configuration(s)
- Published / Modified
- 2026-07-01 / 2026-07-09
NVD description (verbatim)
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.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-5138 is an authorization bypass vulnerability in Foreman's taxonomy_scope controller method. The vulnerability stems from insufficient validation of organization and location IDs passed in nested request parameters. An authenticated user with host-edit permissions can craft requests that bypass existing authorization checks, allowing them to enumerate and retrieve sensitive infrastructure metadata from out-of-scope tenants. The vulnerability falls under CWE-639 (Authorization Bypass Through User-Controlled Key), indicating a flawed access control mechanism tied to request-controlled identifiers. The CVSS 3.1 score of 4.3 (Medium severity) reflects low attack complexity, network accessibility, and confidentiality impact, with no integrity or availability compromise.
Business impact
In multi-tenant Foreman deployments, this vulnerability could expose critical infrastructure blueprints to competing business units or unauthorized administrators. Network topology, IP addressing schemes, and VLAN designs are often considered sensitive operational security data. Compromise of this information could enable network reconnaissance, facilitate lateral movement planning, or support supply-chain intelligence gathering. Compliance frameworks (SOC 2, FedRAMP, PCI DSS) typically require strict tenant isolation; this flaw creates evidence of control breakdown that could complicate audit outcomes. The risk is elevated in environments hosting multiple customers or business units on shared Foreman infrastructure.
Affected systems
The vulnerability affects Foreman and Red Hat Satellite (which is based on Foreman). Specific patched versions have not been disclosed in this advisory; verify the Red Hat security advisory for affected version ranges and remediation guidance. Red Hat Enterprise Linux systems running these products as components are in scope. Organizations using Foreman in standalone or Satellite deployments with multi-tenant configurations or role-based access controls are most directly affected.
Exploitability
Exploitation requires valid Foreman credentials with host-edit permissions, placing this in the authenticated threat category. The attack complexity is low—an attacker simply needs to manipulate nested request parameters pointing to out-of-scope organization or location IDs. No special tools, timing windows, or user interaction are needed. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog as of publication, suggesting no observed active exploitation in the wild at the time of disclosure. However, the straightforward nature of the attack (parameter manipulation) means exploitation tooling could be developed quickly once details become public.
Remediation
Remediation requires patching Foreman and Red Hat Satellite to versions that properly validate organization and location IDs before returning sensitive metadata. Additionally, review and reinforce role-based access control (RBAC) policies within Foreman to ensure host-edit permissions do not unintentionally grant cross-tenant visibility. For immediate risk reduction pending patches, audit Foreman API logs and controller access patterns to detect suspicious multi-tenant parameter enumeration attempts. Consider restricting host-edit role membership to only trusted administrators and implementing network segmentation to limit access to Foreman API endpoints.
Patch guidance
Check the Red Hat security advisory (linked in vendor guidance) for specific patched versions and release timelines. Apply updates to both Foreman and Red Hat Satellite infrastructure management components. Test patches in a staging environment first to confirm compatibility with existing Foreman integrations, satellite configurations, and dependent systems. After patching, verify that authorization checks properly reject cross-tenant metadata requests by testing with a host-edit user account against out-of-scope organization and location IDs.
Detection guidance
Monitor Foreman API logs (typically in /var/log/foreman/production.log or Satellite audit logs) for repeated requests to the taxonomy_scope controller with varying organization and location ID parameters. Look for 200 or 304 responses (successful data retrieval) when the requesting user's assigned organization or location ID does not match the request parameters. Enable detailed audit logging in Foreman's settings to capture all parameter submissions. Alert on patterns suggesting enumeration: multiple rapid requests targeting different organization/location IDs from a single host-edit user account within a short time window. Correlate such activity with user privilege review to identify potential data exfiltration.
Why prioritize this
Although the CVSS score is Medium (4.3), prioritization should account for the sensitive nature of infrastructure metadata at risk. In multi-tenant environments, tenant isolation is a core security control. This vulnerability directly undermines that control. Organizations with strict compliance requirements, those hosting multiple customers on shared Foreman infrastructure, or those storing critical network topology data should prioritize patching and immediate detection efforts. Environments with single-tenant or isolated Foreman deployments may deprioritize slightly, though the flaw still warrants timely remediation to reduce insider-threat surface area.
Risk score, explained
The CVSS 3.1 score of 4.3 reflects the attack vector (network-accessible), attack complexity (low), privilege requirement (authenticated), user interaction requirement (none), and impact scope (unchanged). The confidentiality impact is rated Low because the leaked data (subnet topology, IP ranges, gateway, DNS, VLAN) is infrastructure configuration rather than user secrets or credentials. However, real-world risk elevation occurs in multi-tenant or highly regulated environments where infrastructure metadata exposure triggers compliance violations or enables follow-on attacks. Organizations should consider context-specific risk ratings above the base CVSS score if they host multiple tenants or treat network topology as a protected asset.
Frequently asked questions
Can an attacker without any Foreman credentials exploit this vulnerability?
No. The vulnerability requires valid Foreman credentials and an existing host-edit role assignment. This limits the attack surface to insider threats or compromised accounts. However, because host-edit is a common administrative role, the pool of potentially exploitable accounts may be larger than expected.
What infrastructure data is at risk of leakage?
The vulnerability exposes network configuration metadata including subnet topology, IP address ranges, default gateways, DNS server addresses, and VLAN IDs from out-of-scope organizations and locations. This information can be valuable for network reconnaissance and does not require access to actual systems—only knowledge of Foreman's API structure.
Is this vulnerability tracked in CISA's Known Exploited Vulnerabilities list?
No. As of the publication date (July 2026), this vulnerability is not listed in CISA's KEV catalog, suggesting no confirmed active exploitation in the wild. However, organizations should not rely on this as assurance; the straightforward nature of parameter manipulation makes exploitation feasible once the flaw is public knowledge.
Does this affect single-tenant Foreman deployments?
Single-tenant deployments are technically vulnerable to the same authorization bypass, but the practical impact is lower because all organizations and locations within a single-tenant instance are typically already visible to administrative users. The risk is most acute in multi-tenant or role-segregated environments where users should only see assigned tenants.
This analysis is based on the published CVE details and vendor advisory as of July 2026. Specific patched version numbers, remediation timelines, and affected product version ranges must be verified directly with Red Hat's official security advisory. Organizations should not rely solely on this summary for security decisions; conduct independent risk assessment based on your environment's specific multi-tenancy model, data sensitivity classification, and compliance requirements. SEC.co does not provide exploit code or weaponized proof-of-concept demonstrations. Source: NVD (public-domain), retrieved 2026-08-10. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-5135MEDIUMForeman Broken Access Control via Lookup Value Override Retargeting
- CVE-2026-5142MEDIUMForeman SSH Key Exposure via Authorization Bypass
- CVE-2026-14209MEDIUMKeycloak Admin UI Permission Bypass in Fine-Grained Access Control
- CVE-2026-14614MEDIUMKeycloak Admin Scope Injection via FGAP v2 Bypass
- CVE-2026-9799MEDIUMKeycloak UMA Authorization Bypass in Permissive Mode
- CVE-2026-9099HIGHKeycloak Group Reparenting Authorization Bypass – Privilege Escalation to Realm Takeover
- CVE-2026-13316MEDIUMForeman & Red Hat Satellite SSRF Cloud Metadata Vulnerability
- CVE-2026-9073MEDIUMForeman-mcp-server Sensitive Data Logging Vulnerability (CVSS 6.2)