Actions
Bug #39845
closedCVE-2026-96658: Foreman Safemode bypass leading to RCE
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
-
Difficulty:
Triaged:
No
Pull request:
https://github.com/theforeman/foreman-packaging/pull/14191, https://github.com/theforeman/safemode/pull/68, https://github.com/theforeman/safemode/pull/67, https://github.com/theforeman/safemode/pull/69, https://github.com/theforeman/foreman-packaging/pull/14189, https://github.com/theforeman/foreman-packaging/pull/14190
Description
A low-privilege user with minimal view permissions can bypass Safemode restrictions and reach Ruby code execution through exposed template methods.
CVSS: 9.9 (Critical)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated by Ondřej Gajdušek about 1 month ago
- Pull request https://github.com/theforeman/safemode/pull/67, https://github.com/theforeman/safemode/pull/69 added
Updated by Ondřej Gajdušek about 1 month ago
- Fixed in Releases 3.19.2, 5.0.1, 5.1.0 added
Updated by Ondřej Gajdušek about 1 month ago
- Pull request https://github.com/theforeman/foreman-packaging/pull/14189, https://github.com/theforeman/foreman-packaging/pull/14190, https://github.com/theforeman/foreman-packaging/pull/14191 added
Updated by Ondřej Gajdušek about 1 month ago
- Pull request deleted (
https://github.com/theforeman/safemode/pull/67, https://github.com/theforeman/safemode/pull/69, https://github.com/theforeman/foreman-packaging/pull/14189, https://github.com/theforeman/foreman-packaging/pull/14190)
Updated by Ondřej Gajdušek about 1 month ago
- Pull request https://github.com/theforeman/safemode/pull/68, https://github.com/theforeman/safemode/pull/67, https://github.com/theforeman/safemode/pull/69, https://github.com/theforeman/foreman-packaging/pull/14189, https://github.com/theforeman/foreman-packaging/pull/14190 added
Actions