Rubygem-foreman_remote_execution: command injection in job invocations via effective_user parameter
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 5
- Red Hat Satellite 6.16 for RHEL 8unaffected: 0:13.2.8-2.el8sat and laterCVE List
- Red Hat Satellite 6.16 for RHEL 9unaffected: 0:13.2.8-2.el9sat and laterCVE List
- Red Hat Satellite 6.17 for RHEL 9unaffected: 0:15.0.2-2.el9sat and laterCVE List
- Red Hat Satellite 6.18 for RHEL 9unaffected: 0:16.2.3-2.el9sat and laterCVE List
- Red Hat Satellite 6.19 for RHEL 9unaffected: 0:16.5.3-2.el9sat and laterCVE List
References 6
- access.redhat.com/errata/RHSA-2026:74503Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:74504Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:74505Advisoryvia CVE List
- access.redhat.com/errata/RHSA-2026:74506Advisoryvia CVE List
- access.redhat.com/security/cve/CVE-2026-12405Advisoryvia CVE List
- bugzilla.redhat.com/show_bug.cgi?id=2488952Referencevia CVE List