8.8high
Rubygem-foreman_remote_execution: command injection in job invocations via effective_user parameter
- Severity
- 8.8high CVSS:3.1 by redhat
- Exploit likelihood
- 1.58% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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
| Product or package | Versions | Reported by |
|---|---|---|
| rubygem-foreman_remote_execution | Not specified Not affected: from 0:13.2.8-2.el8sat before *, from 0:13.2.8-2.el9sat before *, from 0:15.0.2-2.el9sat before *, from 0:16.2.3-2.el9sat before *, from 0:16.5.3-2.el9sat before * | CVE List |
| satellite:el8/rubygem-foreman_remote_execution | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12405 changed 2026-11-02 | CVE Terms of Use |
| NVD | CVE-2026-12405 changed 2026-10-07 | Public domain |