A command injection flaw exists in the `foreman-rake errors:fetch log` task. The `request id` parameter is passed to an underlying system command, typically `grep`, without adequate shell neutralization. An attacker with sudo permissions to execute this rake task can inject shell metacharacters, such as `;`, `"`, or `|`, to bypass the intended command and execute arbitrary code.