# CVE-2026-5138: Foreman information disclosure via improper validation in taxonomy_scope

Source: https://junglewise.ai/threats/cve-2026-5138-foreman-information-disclosure-via-improper-validation-in-taxonomy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-01. Updated: 2026-07-01  
License: CC BY 4.0 with a link back

CVE-2026-5138 · Severity: medium · CVSS 4.3 · Published 2026-07-01

Foreman, a tool used for managing physical and virtual servers, contains a security flaw that allows authorized users to view information they should not have access to. An attacker with basic host-editing permissions can bypass security boundaries to view sensitive network details from other organizations or departments managed on the same system. This could expose private infrastructure data such as IP ranges, DNS server addresses, and internal network layouts.

Technologies: [Foreman](https://junglewise.ai/threats/technologies/foreman). Vendors: [Foreman](https://junglewise.ai/threats/vendors/foreman).

## Quick answers

**Is CVE-2026-5138 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-5138 being exploited in the wild.

**How severe is CVE-2026-5138?** Medium severity, with a CVSS score of 4.3, published 1 July 2026.

**Which products and versions are affected?** Foreman unspecified.

**Is there a fix for CVE-2026-5138?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-5138 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-5138?** Check whether you run Foreman at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A vulnerability exists in Foreman's taxonomy_scope controller method due to improper validation of organization and location IDs within nested request parameters. While top-level parameters may be validated, the application fails to verify that nested IDs belong to the user's authorized taxonomy memberships, effectively bypassing the set_taxonomy authorization check. An attacker with 'create_hosts' or 'edit_hosts' permissions can craft a malicious HTTP request containing a foreign organization ID in the nested parameters to leak metadata including subnet topology, IP ranges, gateways, DNS servers, and VLAN IDs. This affects Foreman and Red Hat Satellite 6 environments.

## Affected products

- Foreman Foreman unspecified
- Red Hat Red Hat Satellite 6 6

## Timeline

- 2026-03-30: disclosed: Initial report in Red Hat Bugzilla
- 2026-07-01: advisory: NVD and Red Hat published advisory details

## References

- [https://access.redhat.com/downloads/content/package-browser/](https://access.redhat.com/downloads/content/package-browser/)
- [https://access.redhat.com/security/cve/CVE-2026-5138](https://access.redhat.com/security/cve/CVE-2026-5138)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2452971](https://bugzilla.redhat.com/show_bug.cgi?id=2452971)

## Related threats

- [Foreman OS command injection in rake database tasks](https://junglewise.ai/threats/cve-2026-12541-a-flaw-was-found-in-foreman-os-command-injection-vulnerabilities)
- [Foreman broken access control in host lookup value overrides](https://junglewise.ai/threats/cve-2026-5135-foreman-broken-access-control-in-host-lookup-value-overrides)
- [Foreman privilege escalation in Usergroup model](https://junglewise.ai/threats/cve-2026-5136-foreman-privilege-escalation-in-usergroup-model)
- [Foreman command injection in WebSocket proxy](https://junglewise.ai/threats/cve-2026-1961-foreman-command-injection-in-websocket-proxy)
