By creating a Yaml global parameter under "Configure"->"Global Parameters" which contains a crafted payload, an attacker with admin privileges on the foreman instance can execute arbitrary code on the underlying operating system.