CVE-2026-81658 is an IDOR vulnerability in Foreman's UI template revision endpoint that allows authenticated low-privilege users to enumerate audit IDs and extract historical template contents across organizational boundaries. The critical diagnostic signal is the asymmetric enforcement: the REST API correctly restricts audit ID lookups, but the equivalent UI endpoint does not. An attacker with only view_ptables permission — a standard user role in multi-tenant deployments — can exploit this to retrieve template revision history belonging to other organizations.
This is not a one-off coding mistake. The UI controller was almost certainly written years ago, worked fine, and was forgotten — not because anyone decided it was secure, but because survival was treated as validation. When the REST API team later hardened the audit ID lookup path against enumeration, that security attention did not propagate backward to the parallel UI route. The UI controller became invisible through the logic of maintenance: we touch code that shows symptoms. The audit endpoint didn't cause problems, so nobody went looking.
The blast radius is asymmetric in the victim's favor. Foreman provisions infrastructure, and provisioning templates routinely embed credentials, network configurations, and secrets. A view_ptables permission breaking organizational isolation is high-impact — it transforms a routine user role into a cross-tenant reconnaissance tool.
The deeper concern: this vulnerability class appeared in CVE-2022-4364 affecting Red Hat Satellite, a sister project in the same provisioning space. The same template-revision enumeration pattern, the same view permission, the same API-to-UI drift. This lineage suggests the fix for CVE-2026-81658 should be treated as provisional. The entropy that buried this endpoint almost certainly has siblings — other 'working' UI endpoints whose security assumptions rotted without anyone noticing.
For defenders: audit your UI controllers against their REST API counterparts. For every authorization check added to an API endpoint, ask whether the equivalent UI controller was checked. This is the audit scope that prevents the next instance of the same mutation.