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

Status: published. Published: 2026-07-01. Updated: 2026-11-26.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

-  /  (foreman): ≥ 0; < 3.18.2 (affected, semver); ≥ 3.19.0; < 3.19.1 (affected, semver). Source: CNA: redhat
- Red Hat / Red Hat Satellite 6.16 for RHEL 8 (foreman): ≥ 0:3.12.0.17-1.el8sat; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Satellite 6.16 for RHEL 9 (foreman): ≥ 0:3.12.0.17-1.el9sat; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Satellite 6.17 for RHEL 9 (foreman): ≥ 0:3.14.0.17-1.el9sat; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Satellite 6.18 for RHEL 9 (foreman): ≥ 0:3.16.0.17-1.el9sat; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Satellite 6.19 for RHEL 9 (foreman): ≥ 0:3.18.0.7-1.el9sat; < * (unaffected, rpm). Source: CNA: redhat
- Red Hat / Red Hat Satellite 6 (satellite-capsule:el8/foreman): Version range not reported. Source: CNA: redhat

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.16.10",
            "versionStartIncluding": "6.16",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      },
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
            "vulnerable": false
          },
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
            "vulnerable": false
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.17.9",
            "versionStartIncluding": "6.17",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      },
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
            "vulnerable": false
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.18.7",
            "versionStartIncluding": "6.18",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      },
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
            "vulnerable": false
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.19.2",
            "versionStartIncluding": "6.19",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      },
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
            "vulnerable": false
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "AND"
  },
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "3.18.2",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "3.19.1",
            "versionStartIncluding": "3.19.0",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- 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; source: CNA: redhat

- 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; source: NVD: secalert@redhat.com

- CISA KEV: No listing in collected sources

- EPSS: 0.38% as of 2026-11-26; percentile 23.84%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-639

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://access.redhat.com/errata/RHSA-2026:34365 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:34366 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:34367 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:34368 (CNA: redhat; vendor-advisory, x_refsource_REDHAT)

- https://access.redhat.com/security/cve/CVE-2026-5138 (CNA: redhat; vdb-entry, x_refsource_REDHAT)

- https://bugzilla.redhat.com/show_bug.cgi?id=2452971 (CNA: redhat; issue-tracking, x_refsource_REDHAT)

- https://access.redhat.com/errata/RHSA-2026:34365 (secalert@redhat.com; Vendor Advisory)

- https://access.redhat.com/errata/RHSA-2026:34366 (secalert@redhat.com; Vendor Advisory)

- https://access.redhat.com/errata/RHSA-2026:34367 (secalert@redhat.com; Vendor Advisory)

- https://access.redhat.com/errata/RHSA-2026:34368 (secalert@redhat.com; Vendor Advisory)

- https://access.redhat.com/security/cve/CVE-2026-5138 (secalert@redhat.com; Vendor Advisory)

- https://bugzilla.redhat.com/show_bug.cgi?id=2452971 (secalert@redhat.com; Issue Tracking, Vendor Advisory)

## Provenance

- CNA: redhat: https://www.cve.org/CVERecord?id=CVE-2026-5138; retrieved 2026-11-26; source updated 2026-11-26

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-5138; retrieved 2026-11-25; source updated 2026-11-25

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-5138; retrieved 2026-11-26; source updated Not reported

Revision: c7825db8cdf2288f97987a13979646e4e4543fc89cf0300642efa78b45db6487

Canonical: https://y2.dev/cve/CVE-2026-5138

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.