cve.bz

CVE-2026-96658 Code Injection

8.8 highEPSS 0.7%Fix available

High (8.8). EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Foreman. This vulnerability allows an authenticated remote attacker with low-level read permissions to achieve arbitrary code execution on the underlying server. By manipulating the permitted methods list within the template rendering engine, an attacker can bypass the safemode sandbox isolation and execute unauthorized commands directly on the host system.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th 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: total, assessed 2026-10-01. 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-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
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-96658 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-96658?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-96658?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-96658 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-96658

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-96658](https://cve.bz/cve/badge/CVE-2026-96658.svg)](https://cve.bz/cve/CVE-2026-96658)

HTML:

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

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Satellite 6.16 for RHEL 80:1.5.0-2.el8sat
Red Hat Satellite 6.16 for RHEL 90:1.5.0-2.el9sat
Red Hat Satellite 6.17 for RHEL 90:3.14.0.22-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:3.2.13-1.el9pc
Red Hat Satellite 6.17 for RHEL 90:3.1.62-1.el9pc
Red Hat Satellite 6.17 for RHEL 90:5.3.1-2.el9pc
Red Hat Satellite 6.17 for RHEL 90:0.6.0-1.el9pc
Red Hat Satellite 6.17 for RHEL 90:15.0.2-2.el9sat
Red Hat Satellite 6.17 for RHEL 90:3.14.0-2.el9sat
Red Hat Satellite 6.17 for RHEL 90:4.16.0.20-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:1.5.0-2.el9sat
Red Hat Satellite 6.17 for RHEL 90:6.17.12-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:0.1.0-2.1.el9sat
Red Hat Satellite 6.18 for RHEL 90:1.5.0-2.el9sat
Red Hat Satellite 6.19 for RHEL 90:3.18.0.14-1.el9sat

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as having Critical impact for Red Hat Satellite because an authenticated user with minimal read-only permissions can escape the templating sandbox and achieve arbitrary code execution on the underlying Satellite host. The flaw bypasses safemode isolation when evaluating templates, allowing unauthorized methods to be invoked in the context of the Foreman application service. Because view-level permissions are commonly assigned to unprivileged accounts, exploitation does not require administrative privileges, resulting in a severe compromise of the management server.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Satellite 6.16 for RHEL 8rubygem-safemode-0:1.5.0-2.el8satFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 9rubygem-safemode-0:1.5.0-2.el9satFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.17 for RHEL 9foreman-0:3.14.0.22-1.el9satFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9python-dynaconf-0:3.2.13-1.el9pcFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9python-gitpython-0:3.1.62-1.el9pcFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9python-lxml-0:5.3.1-2.el9pcFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9python-sqlparse-0:0.6.0-1.el9pcFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9rubygem-foreman_remote_execution-0:15.0.2-2.el9satFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9rubygem-hammer_cli-0:3.14.0-2.el9satFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9rubygem-katello-0:4.16.0.20-1.el9satFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9rubygem-safemode-0:1.5.0-2.el9satFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9satellite-0:6.17.12-1.el9satFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.17 for RHEL 9yggdrasil-worker-forwarder-0:0.1.0-2.1.el9satFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.18 for RHEL 9rubygem-safemode-0:1.5.0-2.el9satFixed 2026-10-01RHSA-2026:74504
Red Hat Satellite 6.19 for RHEL 9foreman-0:3.18.0.14-1.el9satFixed 2026-10-01RHSA-2026:74503

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-96658.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON