Actions
Bug #39479
closedCVE-2026-5142: Cross-tenant private SSH key disclosure via taxonomy scoping bypass
Status:
Closed
Priority:
Immediate
Assignee:
-
Category:
Security
Target version:
-
Difficulty:
Triaged:
No
Description
A broken access control vulnerability was found in Foreman's KeyPairsController#show action. The show action is excluded from the find_compute_resource callback that enforces taxonomy scoping on all other key pair actions. This allows an authenticated user with the view_keypairs permission (included in the built-in Viewer role) to download the full PEM private key of any compute resource by database ID, bypassing organization and location boundaries.
CVSS: 6.5 (Moderate)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE: CWE-639
Credit: Stanislav Fot (Aisle Research)
Actions