cve.bz

CVE-2026-81658 Foreman: cross-tenant disclosure of template revisions via unauthorized audit lookup

6.5 mediumEPSS 0.4%Fix available

Medium (6.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Foreman. The template revision endpoint does not enforce object-level authorization when retrieving an audited template revision. An authenticated, low privileged user with a template-related permission, such as view_ptables, can obtain historical template contents belonging to another organization or location by supplying the corresponding audit ID. This can result in unauthorized disclosure of historical template contents, which may contain sensitive configuration information, credentials, or other secrets. The REST API revision endpoints correctly restrict this lookup.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-15. 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-08-27. 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-639 Authorization Bypass Through User-Controlled Key
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-81658 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-81658?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-81658?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-81658 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.

Badge for a README or a site

CVE-2026-81658

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-81658](https://cve.bz/cve/badge/CVE-2026-81658.svg)](https://cve.bz/cve/CVE-2026-81658)

HTML:

<a href="https://cve.bz/cve/CVE-2026-81658"><img src="https://cve.bz/cve/badge/CVE-2026-81658.svg" alt="CVE-2026-81658"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Satellite 6.16 for RHEL 80:3.12.0.26-1.el8sat
Red Hat Satellite 6.16 for RHEL 90:3.12.0.26-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:3.14.0.26-1.el9sat
Red Hat Satellite 6.18 for RHEL 90:3.16.0.29-1.el9sat

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatsatellite:6.16::el8candlepin, candlepin-selinux0:4.4.26-2.el8satRHSA-2026:99949
Red Hatsatellite:6.16::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.12.0.26-1.el8satRHSA-2026:99949
Red Hatsatellite:6.16::el8rubygem-crass0:1.0.8-1.el8satRHSA-2026:99949
Red Hatsatellite:6.16::el8rubygem-katello0:4.14.0.24-1.el8satRHSA-2026:99949
Red Hatsatellite:6.16::el8rubygem-puma, rubygem-puma-debuginfo, rubygem-puma-debugsource0:6.4.3-2.el8satRHSA-2026:99949
Red Hatsatellite:6.16::el8rubygem-safemode0:1.5.0-3.el8satRHSA-2026:99949
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-pulp-rpm, python3.11-pulp-rpm0:3.26.9-1.el8pcRHSA-2026:99949
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-pulpcore, python3.11-pulpcore0:3.49.39-5.el8pcRHSA-2026:99949
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-pyjwt, python3.11-pyjwt, python3.11-pyjwt+crypto0:2.15.1-1.el8pcRHSA-2026:99949
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-pysequoia, python3.11-pysequoia0:0.1.35-1.el8pcRHSA-2026:99949
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8rubygem-smart_proxy_dynflow0:0.9.3-2.el8satRHSA-2026:99949
Red Hatsatellite:6.16::el9candlepin, candlepin-selinux0:4.4.26-2.el9satRHSA-2026:99949
44 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 rated this flaw as having a Moderate impact.

This vulnerability affects Foreman's template revision handling. The vulnerability permits an authenticated, low-privileged user with limited template permissions to bypass organization and location authorization boundaries and access historical template revisions outside their authorized scope. The exposed information consists of the contents of the audited template revision and may include sensitive configuration information, credentials, or other secrets stored in templates.

This issue requires network access to the Foreman web interface and a valid account with a template-related permission such as view_ptables. No special attack conditions and no user interaction are required. The confidentiality impact is High because a successful request returns the full historical template body, which can include credentials or other secrets.

```

This behavior has been present in the UI revision handling since the introduction of STI templates.

The REST API revision endpoints are not affected; they already resolve audit records through an authorization-aware scope.

```

Red Hat's mitigation

Red Hat is not aware of a practical temporary workaround that fully mitigates this issue or meets Red Hat Product Security's standards for usability, deployment, applicability, or stability. Customers are advised to apply the relevant security updates when they become available.

ProductPackageStateAdvisory
Red Hat Satellite 6foremanFix 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-81658.

References

Check your stackJSON