8.8High

CVE-2026-96658Foreman: foreman: arbitrary code execution via safemode sandbox bypass

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… Published: (1 month ago)

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Red Hat Red Hat Satellite 6.16 for RHEL 8 all versions
Red Hat Red Hat Satellite 6.16 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.17 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.18 for RHEL 9 all versions
Red Hat Red Hat Satellite 6.19 for RHEL 9 all versions
redhat satellite 6.16 – < 6.16.4
satellite 6.16 —
satellite 6.17 —
satellite 6.18 —
satellite 6.19 —
satellite capsule 6.16 —
satellite capsule 6.17 —
satellite capsule 6.18 —
satellite capsule 6.19 —
satellite utils 6.16 —
satellite utils 6.17 —
satellite utils 6.18 —
satellite utils 6.19 —
theforeman foreman < 2.0.1

References and patches

CPE matches (NVD) (8)

  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.16 < 6.16.4
  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.17 < 6.17.12
  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.19 < 6.19.5
  • cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* < 2.0.1
  • cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:*
  • cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:*
  • cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* ≥ 6.18 < 6.18.10