Skip to content
Fencer Intel
high 8.8

CVE-2026-96658 json

Foreman: foreman: arbitrary code execution via safemode sandbox bypass

published last mo. modified 9d ago also EUVD-2026-90921

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 54%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Satellite 6.16 for RHEL 8 0:1.5.0-2.el8sat
  • Red Hat Red Hat Satellite 6.16 for RHEL 9 0:1.5.0-2.el9sat
  • Red Hat Red Hat Satellite 6.17 for RHEL 9 0:0.1.0-2.1.el9sat, 0:0.6.0-1.el9pc, 0:1.5.0-2.el9sat, 0:3.1.62-1.el9pc, 0:3.2.13-1.el9pc, 0:3.14.0-2.el9sat, 0:3.14.0.22-1.el9sat, 0:4.16.0.20-1.el9sat, 0:5.3.1-2.el9pc, 0:6.17.12-1.el9sat, 0:15.0.2-2.el9sat
  • Red Hat Red Hat Satellite 6.18 for RHEL 9 0:1.5.0-2.el9sat
  • Red Hat Red Hat Satellite 6.19 for RHEL 9 0:3.18.0.14-1.el9sat
  • foreman satellite utils 6.17, satellite capsule 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • satellite satellite utils 6.17, satellite capsule 6.17, satellite 6.17 6.17.12-1.el9sat
  • foreman-cli satellite utils 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • foreman-ec2 satellite 6.17 3.14.0.22-1.el9sat
  • foreman-pcp satellite capsule 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • python-lxml satellite capsule 6.17, satellite 6.17 5.3.1-2.el9pc
  • foreman-ovirt satellite 6.17 3.14.0.22-1.el9sat
  • foreman-redis satellite 6.17 3.14.0.22-1.el9sat

red hat advisories RHSA-2026:74505RHSA-2026:74504RHSA-2026:74506RHSA-2026:74503

Is CVE-2026-96658 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-96658 updated cvss 8.8

foreman: Foreman: Arbitrary code execution via safemode sandbox bypass

  • Red Hat Satellite 6.16 for RHEL 8 rubygem-safemode 1.5.0-2.el8sat Red Hat Satellite 6.16 for RHEL 9 rubygem-safemode 1.5.0-2.el9sat
    fixed: vendor fix RHSA-2026:74506
  • Red Hat Satellite 6.17 for RHEL 9 python-lxml 5.3.1-2.el9pc, foreman 3.14.0.22-1.el9sat, satellite 6.17.12-1.el9sat, python-sqlparse 0.6.0-1.el9pc, python3.11-lxml 5.3.1-2.el9pc, foreman-cli 3.14.0.22-1.el9sat, +27 more
    fixed: vendor fix RHSA-2026:74505
  • Red Hat Satellite 6.18 for RHEL 9 rubygem-safemode 1.5.0-2.el9sat
    fixed: vendor fix RHSA-2026:74504
  • Red Hat Satellite 6.19 for RHEL 9 foreman 3.18.0.14-1.el9sat, foreman-cli 3.18.0.14-1.el9sat, foreman-ec2 3.18.0.14-1.el9sat, foreman-pcp 3.18.0.14-1.el9sat, foreman-redis 3.18.0.14-1.el9sat, foreman-vmware 3.18.0.14-1.el9sat, +7 more
    fixed: vendor fix RHSA-2026:74503
  • Red Hat Satellite 6.16 for RHEL 8 python-lxml 4.9.2-5.el8pc, foreman 3.12.0.23-1.el8sat, satellite 6.16.14-1.el8sat, python-sqlparse 0.6.0-1.el8pc, python3.11-lxml 4.9.2-5.el8pc, foreman-cli 3.12.0.23-1.el8sat, +27 more Red Hat Satellite 6.16 for RHEL 9 python-lxml 4.9.2-5.el9pc, foreman 3.12.0.23-1.el9sat, satellite 6.16.14-1.el9sat, python-sqlparse 0.6.0-1.el9pc, python3.11-lxml 4.9.2-5.el9pc, foreman-cli 3.12.0.23-1.el9sat, +27 more Red Hat Satellite 6.18 for RHEL 9 foreman 3.16.0.25-1.el9sat, satellite 6.18.10-1.el9sat, foreman-cli 3.16.0.25-1.el9sat, foreman-ec2 3.16.0.25-1.el9sat, foreman-pcp 3.16.0.25-1.el9sat, satellite-cli 6.18.10-1.el9sat, +21 more Red Hat Satellite 6.19 for RHEL 9 satellite 6.19.5-1.el9sat, satellite-cli 6.19.5-1.el9sat, rubygem-safemode 1.5.0-2.el9sat, satellite-common 6.19.5-1.el9sat, python3.12-sqlparse 0.6.0-1.el9pc, satellite-capsule 6.19.5-1.el9sat, +11 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
last mo.

Exploit prediction

0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Satellite 6.16 for RHEL 8
  • Red Hat Red Hat Satellite 6.16 for RHEL 9
  • Red Hat Red Hat Satellite 6.17 for RHEL 9
  • Red Hat Red Hat Satellite 6.18 for RHEL 9
  • Red Hat Red Hat Satellite 6.19 for RHEL 9

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.