Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-12405

Rubygem-foreman_remote_execution: command injection in job invocations via effective_user parameter

Description

A flaw was found in rubygem-foreman_remote_execution. A command injection vulnerability exists in the Red Hat Satellite API (/api/v2/job_invocations). When a job template has the effective_user property marked as overridable: true, the application fails to properly sanitize the effective_user input provided during the API request. The exploitation does not rely on the content or logic of the Job Template/playbook itself; rather, the injection occurs during the instantiation of the job execution environment by the Satellite server. An attacker with permissions to execute job templates can inject arbitrary shell commands into this parameter, which are executed on the target infrastructure with the privileges of the execution user.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Red Hat Red Hat Satellite 6.16 for RHEL 8

Default version status: affected

  • 0:13.2.8-2.el8sat to < *unaffected

Red Hat Red Hat Satellite 6.16 for RHEL 9

Default version status: affected

  • 0:13.2.8-2.el9sat to < *unaffected

Red Hat Red Hat Satellite 6.17 for RHEL 9

Default version status: affected

  • 0:15.0.2-2.el9sat to < *unaffected

Red Hat Red Hat Satellite 6.18 for RHEL 9

Default version status: affected

  • 0:16.2.3-2.el9sat to < *unaffected

Red Hat Red Hat Satellite 6.19 for RHEL 9

Default version status: affected

  • 0:16.5.3-2.el9sat to < *unaffected

Red Hat Red Hat Satellite 6

Default version status: affected

References