CVE-2026-96658

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

Configuration 1 (hide)

AND
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

Configuration 2 (hide)

AND
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

Configuration 3 (hide)

AND
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

Configuration 4 (hide)

OR cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*:*

Configuration 5 (hide)

AND
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

History

18 Oct 2026, 07:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.9
v2 : unknown
v3 : 8.8
Summary (en) A flaw was found in Foreman. An authenticated attacker with low-level permissions can achieve remote code execution (RCE) by bypassing the safemode sandbox within the templating engine. Due to improper handling of delegated methods, an attacker can append unauthorized functions to the allowed execution list, enabling them to run arbitrary commands on the hosting server. (en) 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.

16 Oct 2026, 13:41

Type Values Removed Values Added
References () https://access.redhat.com/errata/RHSA-2026:74503 - () https://access.redhat.com/errata/RHSA-2026:74503 - Vendor Advisory
References () https://access.redhat.com/errata/RHSA-2026:74504 - () https://access.redhat.com/errata/RHSA-2026:74504 - Vendor Advisory
References () https://access.redhat.com/errata/RHSA-2026:74505 - () https://access.redhat.com/errata/RHSA-2026:74505 - Vendor Advisory
References () https://access.redhat.com/errata/RHSA-2026:74506 - () https://access.redhat.com/errata/RHSA-2026:74506 - Vendor Advisory
References () https://access.redhat.com/security/cve/CVE-2026-96658 - () https://access.redhat.com/security/cve/CVE-2026-96658 - Vendor Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2534185 - () https://bugzilla.redhat.com/show_bug.cgi?id=2534185 - Issue Tracking, Vendor Advisory
References () http://www.openwall.com/lists/oss-security/2026/10/07/2 - () http://www.openwall.com/lists/oss-security/2026/10/07/2 - Mailing List, Patch, Third Party Advisory
First Time Redhat satellite
Redhat
Redhat enterprise Linux
Theforeman
Theforeman foreman
CPE cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:*
cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:*
cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

07 Oct 2026, 07:17

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2026/10/07/2 -

02 Oct 2026, 17:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:74505 -

02 Oct 2026, 00:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:74504 -
  • () https://access.redhat.com/errata/RHSA-2026:74506 -

01 Oct 2026, 18:17

Type Values Removed Values Added
CWE CWE-94

01 Oct 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-01 17:17

Updated : 2026-10-18 07:16


NVD link : CVE-2026-96658

Mitre link : CVE-2026-96658

CVE.ORG link : CVE-2026-96658


JSON object : View

Products Affected

redhat

  • satellite
  • enterprise_linux

theforeman

  • foreman
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')