CVE-2026-96658
JSON

8.8high

Foreman: foreman: arbitrary code execution via safemode sandbox bypass

Severity
8.8high CVSS:3.1 by redhat
Exploit likelihood
0.91% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
rubygem-safemodeNot specified
Not affected: from 0:1.5.0-2.el8sat before *, from 0:1.5.0-2.el9sat before *
CVE List
foremanNot specified
Not affected: from 0:3.14.0.22-1.el9sat before *, from 0:3.18.0.14-1.el9sat before *
CVE List
python-dynaconfNot specified
Not affected: from 0:3.2.13-1.el9pc before *
CVE List
python-gitpythonNot specified
Not affected: from 0:3.1.62-1.el9pc before *
CVE List
python-lxmlNot specified
Not affected: from 0:5.3.1-2.el9pc before *
CVE List
python-sqlparseNot specified
Not affected: from 0:0.6.0-1.el9pc before *
CVE List
rubygem-foreman_remote_executionNot specified
Not affected: from 0:15.0.2-2.el9sat before *
CVE List
rubygem-hammer_cliNot specified
Not affected: from 0:3.14.0-2.el9sat before *
CVE List
rubygem-katelloNot specified
Not affected: from 0:4.16.0.20-1.el9sat before *
CVE List
satelliteNot specified
Not affected: from 0:6.17.12-1.el9sat before *
CVE List
yggdrasil-worker-forwarderNot specified
Not affected: from 0:0.1.0-2.1.el9sat before *
CVE List
redhat satellitefrom 6.16 before 6.16.4, from 6.17 before 6.17.12, from 6.19 before 6.19.5, from 6.18 before 6.18.10NVD

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-96658 changed 2026-11-26CVE Terms of Use
NVDCVE-2026-96658 changed 2026-11-26Public domain