An arbitrary code execution flaw was found in Foreman. This flaw allows an admin user to bypass safe mode in templates and execute arbitrary code on the underlying operating system.
https://bugzilla.redhat.com/show_bug.cgi?id=2159291
https://access.redhat.com/security/cve/CVE-2023-0118
https://access.redhat.com/errata/RHSA-2023:6818
https://access.redhat.com/errata/RHSA-2023:5980