All reports
Medium

rubygem-foreman_ansible: Ansible inventory API ignores view_hosts permission filters, exposes hidden parameters

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-92893

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-23

Description

A flaw was found in the foreman_ansible plugin's Ansible inventory API. The controller builds its host query using an unscoped Host.where call that does not enforce the search filter associated with the caller's view_hosts permission. An authenticated user whose host visibility is restricted by a permission filter can supply arbitrary host IDs within their organization and receive the full Ansible inventory for those hosts, including parameter values marked as hidden.

A flaw was found in the foreman_ansible plugin's Ansible inventory API. The controller builds its host query using an unscoped Host.where call that does not enforce the search filter associated with the caller's view_hosts permission. An authenticated user whose host visibility is restricted by a permission filter can supply arbitrary host IDs within their organization and receive the full Ansible inventory for those hosts, including parameter values marked as hidden.