Auth bypass in Theforeman Foreman

CVE-2026-5138

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.

Vulnerability class: IDOR (Insecure Direct Object Reference)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

EPSS: 0.004 (29.5th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 30th percentile — 29.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-5138: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-5138?
CVE-2026-5138 is a medium-severity vulnerability in Theforeman Foreman, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 4.3/10. Published 2026-07-01.
How severe is CVE-2026-5138?
Medium severity. CVSS v3 base score is 4.3 out of 10.