Bug #39481
closedCVE-2026-5138: Information disclosure via improper validation of nested request parameters
Description
An information disclosure vulnerability was found in Foreman's taxonomy_scope controller method. The method loads organization and location IDs from nested request parameters via find_by_id without checking the user's taxonomy membership, overriding the validated context set by set_taxonomy. An authenticated user with host-edit permissions can supply a foreign organization ID in nested parameters to scope AJAX queries to a tenant they do not belong to, leaking infrastructure metadata such as domains, subnets, and IP availability across organization boundaries.
CVSS: 4.3 (Moderate)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE: CWE-639
Credit: Stanislav Fot (Aisle Research)
Updated by The Foreman Bot 16 days ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/11073 added
Updated by The Foreman Bot 16 days ago
- Pull request https://github.com/theforeman/foreman/pull/11074 added
Updated by The Foreman Bot 16 days ago
- Pull request https://github.com/theforeman/foreman/pull/11075 added
Updated by Lukáš Ježek 16 days ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|2eccf03ea8355260611ad3a9082947b3fbc41b88.