Bug 2534185 (CVE-2026-96658) - CVE-2026-96658 foreman: Safemode Bypass leading to RCE
Summary: CVE-2026-96658 foreman: Safemode Bypass leading to RCE
Keywords:
Status: NEW
Alias: CVE-2026-96658
Deadline: 2026-10-01
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-15 20:00 UTC by OSIDB Bzimport
Modified: 2026-10-01 22:32 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:74504 0 None None None 2026-10-01 22:12:14 UTC
Red Hat Product Errata RHSA-2026:74505 0 None None None 2026-10-01 22:13:08 UTC
Red Hat Product Errata RHSA-2026:74506 0 None None None 2026-10-01 22:32:51 UTC

Description OSIDB Bzimport 2026-09-15 20:00:49 UTC
A Safemode bypass attack has been identified that exposes a number of weaknesses in Foreman leading to low-privilege (i.e. minimum "view_*" permissions) to be able to perform limited Remote Code Execution (RCE). It appears that a copy of the `delegate_methods` to the local scope allows an adversary to append `eval` to the permitted methods list leveraged by safemode, thus permitting RCE through the templating engine.

Comment 2 Jon Orris 2026-10-01 22:12:13 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.18 for RHEL 9

Via RHSA-2026:74504 https://access.redhat.com/errata/RHSA-2026:74504

Comment 3 Jon Orris 2026-10-01 22:13:06 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.17 for RHEL 9

Via RHSA-2026:74505 https://access.redhat.com/errata/RHSA-2026:74505

Comment 4 Jon Orris 2026-10-01 22:32:50 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.16 for RHEL 8
  Red Hat Satellite 6.16 for RHEL 9

Via RHSA-2026:74506 https://access.redhat.com/errata/RHSA-2026:74506


Note You need to log in before you can comment on or make changes to this bug.