Auth bypass in Theforeman Foreman

CVE-2026-5142

A flaw was found in foreman. Authenticated users with 'view_keypairs' permission can bypass taxonomy scoping, allowing them to download private SSH (Secure Shell) keys from other organizations by directly querying key pair IDs. This vulnerability leads to cross-tenant data exposure in multi-tenant deployments, potentially compromising sensitive information.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.003 (20.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

References

Frequently asked questions

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