Bug 2547760 (CVE-2026-107443)

Summary: CVE-2026-107443 foreman: foreman: API host template render discloses secrets to view_hosts users (incomplete CVE-2026-96659 fix)
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anthomas, ehelms, ggainey, jpasqual, juwatts, lblicha, mdellweg, mhulan, nmoumoul, ogajduse, osousa, pcreech, rchan, security-response-team, smallamp, tmalecek, zhunting
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Foreman. An authenticated user with view_hosts 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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-10-08 02:39:54 UTC
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).