CVE-2026-96658

Foreman: foreman: arbitrary code execution via safemode sandbox bypass

State
Published
Severity
8.8 High
Published
Oct 1, 2026
Updated
Oct 18, 2026
Reserved
Sep 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
Red Hat Satellite 6.16 for RHEL 8Red Hat
  • 0:1.5.0-2.el8sat and laterNot affected
Red Hat Satellite 6.16 for RHEL 9Red Hat
  • 0:1.5.0-2.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:3.14.0.22-1.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:3.2.13-1.el9pc and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:3.1.62-1.el9pc and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:5.3.1-2.el9pc and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:0.6.0-1.el9pc and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:15.0.2-2.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:3.14.0-2.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:4.16.0.20-1.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:1.5.0-2.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:6.17.12-1.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:0.1.0-2.1.el9sat and laterNot affected
Red Hat Satellite 6.18 for RHEL 9Red Hat
  • 0:1.5.0-2.el9sat and laterNot affected
Red Hat Satellite 6.19 for RHEL 9Red Hat
  • 0:3.18.0.14-1.el9sat and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.