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

- Severity: High 8.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.58%, higher than 76% of CVEs (2026-12-01)
- Published: 2026-10-01T16:21:44.040Z
- Modified: 2026-11-02T18:01:08.345Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- rubygem-foreman_remote_execution: no versions given (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 *)
- satellite:el8/rubygem-foreman_remote_execution: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:74503> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74504> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74505> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74506> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-12405> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2488952> (issue-tracking)
- <http://www.openwall.com/lists/oss-security/2026/10/07/11>

## Sources

- CVE List: [CVE-2026-12405](https://www.cve.org/CVERecord?id=CVE-2026-12405), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-12405](https://nvd.nist.gov/vuln/detail/CVE-2026-12405), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2026-12405 · Whole record: https://cve.day/CVE-2026-12405.json · Rebuilt by cve.day 2026-11-25T22:59:41.852Z
