Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in Foreman. The remediation for CVE-2026-96659 restricted only the web UI TemplatesController#preview action to edit/create privileges. The REST API endpoint GET /api/v2/hosts/:id/template/:kind remains authorized by the low-privilege view_hosts permission and still renders the host's provisioning template in host scope. An authenticated Viewer can therefore obtain sensitive values rendered by provisioning templates, including the host root password via the root_pass helper, in the HTTP 200 JSON response. Reported via PSIRTSUPT-25114. Credit: Sun Kimsroul (@SunKimsroul). Related: CVE-2026-96659 (UI preview path fixed; this flaw covers the remaining API host-template sink).