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.
Credits
Red Hat would like to thank Andrew Danau (Onsec.io) for reporting this issue.