CVE-2026-107443: Foreman: foreman: api host template render discloses secrets to view_hosts users (incomplete cve-2026-96659 fix)

Published Oct 8, 2026
·
Updated

A flaw was found in Foreman. An authenticated user with viewhosts privileges can retrieve rendered provisioning template content for a host via the hosts template API endpoint, disclosing sensitive data such as the host root password. This is an incomplete fix of CVE-2026-96659, which hardened the web UI preview path but left the API host-template render path authorized for Viewer-level users.

Other sources

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 viewhosts 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 rootpass 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).

— Red Hat

Affected Software

0 affected components

Event History

Oct 8, 2026
Data Sourced
via Red Hat·02:39 AM
DescriptionSeverityAffected Software
Nov 12, 2026
CVE Published
via MITRE·08:04 PM
Data Sourced
via MITRE·08:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203