Skip to content

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

HighCVSS 8.8 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

9 packages: 7 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/satellite:el8/rubygem-foreman_remote_execution(Red Hat satellite 6) All versions No fix listed No fix yet
redhat satellite < 0:13.2.8-2.el8sat; < 0:13.2.8-2.el9sat; < 0:15.0.2-2.el9sat; < 0:16.2.3-2.el9sat +2 more 0:13.2.8-2.el8sat, 0:13.2.8-2.el9sat, 0:15.0.2-2.el9sat, 0:16.2.3-2.el9sat, 0:16.5.3-2.el9sat Partially fixed
redhat satellite capsule < 0:13.2.8-2.el8sat; < 0:13.2.8-2.el9sat; < 0:15.0.2-2.el9sat; < 0:16.2.3-2.el9sat +1 more 0:13.2.8-2.el8sat, 0:13.2.8-2.el9sat, 0:15.0.2-2.el9sat, 0:16.2.3-2.el9sat, 0:16.5.3-2.el9sat Fixed
redhat satellite utils < 0:13.2.8-2.el8sat; < 0:13.2.8-2.el9sat; < 0:15.0.2-2.el9sat; < 0:16.2.3-2.el9sat +1 more 0:13.2.8-2.el8sat, 0:13.2.8-2.el9sat, 0:15.0.2-2.el9sat, 0:16.2.3-2.el9sat, 0:16.5.3-2.el9sat Fixed
redhat/rubygem-foreman_remote_execution(Red Hat satellite 6.16 el8) < 13.2.8-2.el8sat 13.2.8-2.el8sat Fixed
redhat/rubygem-foreman_remote_execution(Red Hat satellite 6.16 el9) < 13.2.8-2.el9sat 13.2.8-2.el9sat Fixed
redhat/rubygem-foreman_remote_execution(Red Hat satellite 6.17 el9) < 15.0.2-2.el9sat 15.0.2-2.el9sat Fixed
redhat/rubygem-foreman_remote_execution(Red Hat satellite 6.18 el9) < 16.2.3-2.el9sat 16.2.3-2.el9sat Fixed
redhat/rubygem-foreman_remote_execution(Red Hat satellite 6.19 el9) < 16.5.3-2.el9sat 16.5.3-2.el9sat Fixed

Affected products

ProductAffected versionsFixed in
redhat satellite < 0:13.2.8-2.el8sat 0:13.2.8-2.el8sat
redhat satellite capsule < 0:13.2.8-2.el8sat 0:13.2.8-2.el8sat
redhat satellite utils < 0:13.2.8-2.el8sat 0:13.2.8-2.el8sat
redhat satellite < 0:13.2.8-2.el9sat 0:13.2.8-2.el9sat
redhat satellite capsule < 0:13.2.8-2.el9sat 0:13.2.8-2.el9sat
redhat satellite utils < 0:13.2.8-2.el9sat 0:13.2.8-2.el9sat
redhat satellite < 0:15.0.2-2.el9sat 0:15.0.2-2.el9sat
redhat satellite capsule < 0:15.0.2-2.el9sat 0:15.0.2-2.el9sat
redhat satellite utils < 0:15.0.2-2.el9sat 0:15.0.2-2.el9sat
redhat satellite < 0:16.2.3-2.el9sat 0:16.2.3-2.el9sat
redhat satellite capsule < 0:16.2.3-2.el9sat 0:16.2.3-2.el9sat
redhat satellite utils < 0:16.2.3-2.el9sat 0:16.2.3-2.el9sat
redhat satellite < 0:16.5.3-2.el9sat 0:16.5.3-2.el9sat
redhat satellite capsule < 0:16.5.3-2.el9sat 0:16.5.3-2.el9sat
redhat satellite utils < 0:16.5.3-2.el9sat 0:16.5.3-2.el9sat
redhat satellite All versions No fix listed
redhat/rubygem-foreman_remote_execution(Red Hat:satellite:6.16::el8) < 13.2.8-2.el8sat 13.2.8-2.el8sat
redhat/rubygem-foreman_remote_execution(Red Hat:satellite:6.16::el9) < 13.2.8-2.el9sat 13.2.8-2.el9sat
redhat/rubygem-foreman_remote_execution(Red Hat:satellite:6.17::el9) < 15.0.2-2.el9sat 15.0.2-2.el9sat
redhat/rubygem-foreman_remote_execution(Red Hat:satellite:6.18::el9) < 16.2.3-2.el9sat 16.2.3-2.el9sat
redhat/rubygem-foreman_remote_execution(Red Hat:satellite:6.19::el9) < 16.5.3-2.el9sat 16.5.3-2.el9sat
redhat/satellite:el8/rubygem-foreman_remote_execution(Red Hat:satellite:6) All versions No fix listed

References