cve.bz

CVE-2026-92893 Rubygem-foreman_ansible: ansible inventory api ignores view_hosts permission filters, exposes hidden parameters

4.3 mediumEPSS 0.3%

Medium (4.3) in red hat red hat satellite 6. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-92893 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-92893?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-92893?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-92893 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatsatellite:6.19::el9candlepin, candlepin-selinux0:4.7.7-2.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9foreman, foreman-cli, foreman-ec2 and 11 more0:3.18.0.19-1.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9rubygem-crass0:1.0.8-1.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9rubygem-foreman_ansible0:17.0.5-2.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9rubygem-foreman_remote_execution, rubygem-foreman_remote_execution-cockpit0:16.5.3-3.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9rubygem-foreman_rh_cloud0:13.2.12-1.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9rubygem-foreman_theme_satellite0:16.2.5-1.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9rubygem-katello0:4.20.0.12-1.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9rubygem-safemode0:1.5.0-3.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9satellite, satellite-cli, satellite-common and 1 more0:6.19.6-1.el9satRHSA-2026:100120
Red Hatsatellite:6.19::el9, satellite_capsule:6.19::el9createrepo_c, createrepo_c-libs, createrepo_c-debuginfo and 4 more0:1.2.6-1.el9pcRHSA-2026:100120
Red Hatsatellite:6.19::el9, satellite_capsule:6.19::el9python3.12-pulp-container0:2.26.19-2.el9pcRHSA-2026:100120
12 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Product Security has assessed this issue as a Moderate severity vulnerability. This vulnerability affects the foreman_ansible plugin's Ansible inventory controller, which is shipped in Red Hat Satellite.

The Foreman authorization model provides two layers of access control for the view_hosts permission: taxonomy scoping (organization and location), which is enforced by a default scope on the Host model, and permission search filters, which must be applied explicitly by calling Host.authorized(:view_hosts). The inventory controller applies only the taxonomy layer but not the permission filter layer. An attacker with a filtered view_hosts permission can therefore access inventory for hosts outside their filter but within their organizations.

The inventory response includes host parameters with their actual values, including parameters flagged as hidden and Ansible variables with the hidden value flag set. While the Foreman documentation notes that the hidden flag is a UI convenience rather than a security boundary, administrators commonly use it for sensitive data. The exposure of these values is what elevates this from a simple filter bypass to a data disclosure issue.

No non-default configuration is needed. The built-in "Ansible Tower Inventory Reader" role grants the required view_hosts permission, making the vulnerable endpoint accessible without custom role configuration.

Red Hat's mitigation

Restrict which users and roles have access to the view_hosts permission covering the ansible_inventories controller actions. If specific users do not need Ansible inventory access, remove the permission mapping from their roles. Review hidden parameter usage: avoid storing high-value credentials in host parameters that would be included in inventory output

ProductPackageStateAdvisory
Red Hat Satellite 6rubygem-foreman_ansibleFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-92893.

References

Check your stackJSON