Skip to content
Fencer Vulns
high 8.8

CVE-2026-12405 json

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

published 2026-10-01 38 d ago modified 2026-11-02 6 d ago also EUVD-2026-90914

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 75%
public exploits
0
none known

Summary

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.

Patch / fix

  • Red Hat Red Hat Satellite 6.16 for RHEL 8 0:13.2.8-2.el8sat
  • Red Hat Red Hat Satellite 6.16 for RHEL 9 0:13.2.8-2.el9sat
  • Red Hat Red Hat Satellite 6.17 for RHEL 9 0:15.0.2-2.el9sat
  • Red Hat Red Hat Satellite 6.18 for RHEL 9 0:16.2.3-2.el9sat
  • Red Hat Red Hat Satellite 6.19 for RHEL 9 0:16.5.3-2.el9sat
  • foreman satellite utils 6.17, satellite capsule 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • satellite satellite utils 6.17, satellite capsule 6.17, satellite 6.17 6.17.12-1.el9sat
  • foreman-cli satellite utils 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • foreman-ec2 satellite 6.17 3.14.0.22-1.el9sat
  • foreman-pcp satellite capsule 6.17, satellite 6.17 3.14.0.22-1.el9sat
  • python-lxml satellite capsule 6.17, satellite 6.17 5.3.1-2.el9pc
  • foreman-ovirt satellite 6.17 3.14.0.22-1.el9sat
  • foreman-redis satellite 6.17 3.14.0.22-1.el9sat

red hat advisories RHSA-2026:74505RHSA-2026:74504RHSA-2026:74506RHSA-2026:74503

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-12405 updated cvss 8.8

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

  • Red Hat Satellite 6 rubygem-foreman_remote_execution
    affected: workaround, no fix available “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
  • Red Hat Satellite 6.16 for RHEL 8 rubygem-foreman_remote_execution 13.2.8-2.el8sat, rubygem-foreman_remote_execution-cockpit 13.2.8-2.el8sat Red Hat Satellite 6.16 for RHEL 9 rubygem-foreman_remote_execution 13.2.8-2.el9sat, rubygem-foreman_remote_execution-cockpit 13.2.8-2.el9sat
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74506
  • Red Hat Satellite 6.17 for RHEL 9 rubygem-foreman_remote_execution 15.0.2-2.el9sat, rubygem-foreman_remote_execution-cockpit 15.0.2-2.el9sat
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74505
  • Red Hat Satellite 6.18 for RHEL 9 rubygem-foreman_remote_execution 16.2.3-2.el9sat, rubygem-foreman_remote_execution-cockpit 16.2.3-2.el9sat
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74504
  • Red Hat Satellite 6.19 for RHEL 9 rubygem-foreman_remote_execution 16.5.3-2.el9sat, rubygem-foreman_remote_execution-cockpit 16.5.3-2.el9sat
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2026:74503
  • Red Hat Satellite 6.16 for RHEL 8 python-lxml 4.9.2-5.el8pc, foreman 3.12.0.23-1.el8sat, satellite 6.16.14-1.el8sat, python-sqlparse 0.6.0-1.el8pc, python3.11-lxml 4.9.2-5.el8pc, foreman-cli 3.12.0.23-1.el8sat, +26 more Red Hat Satellite 6.16 for RHEL 9 python-lxml 4.9.2-5.el9pc, foreman 3.12.0.23-1.el9sat, satellite 6.16.14-1.el9sat, python-sqlparse 0.6.0-1.el9pc, python3.11-lxml 4.9.2-5.el9pc, foreman-cli 3.12.0.23-1.el9sat, +26 more Red Hat Satellite 6.17 for RHEL 9 python-lxml 5.3.1-2.el9pc, foreman 3.14.0.22-1.el9sat, satellite 6.17.12-1.el9sat, python-sqlparse 0.6.0-1.el9pc, python3.11-lxml 5.3.1-2.el9pc, foreman-cli 3.14.0.22-1.el9sat, +25 more Red Hat Satellite 6.18 for RHEL 9 foreman 3.16.0.25-1.el9sat, satellite 6.18.10-1.el9sat, foreman-cli 3.16.0.25-1.el9sat, foreman-ec2 3.16.0.25-1.el9sat, foreman-pcp 3.16.0.25-1.el9sat, satellite-cli 6.18.10-1.el9sat, +20 more Red Hat Satellite 6.19 for RHEL 9 satellite 6.19.5-1.el9sat, foreman 3.18.0.14-1.el9sat, satellite-cli 6.19.5-1.el9sat, foreman-cli 3.18.0.14-1.el9sat, foreman-ec2 3.18.0.14-1.el9sat, foreman-pcp 3.18.0.14-1.el9sat, +22 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
38 d ago

Exploit prediction

1.58% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Red Hat Red Hat Satellite 6.16 for RHEL 8
  • Red Hat Red Hat Satellite 6.16 for RHEL 9
  • Red Hat Red Hat Satellite 6.17 for RHEL 9
  • Red Hat Red Hat Satellite 6.18 for RHEL 9
  • Red Hat Red Hat Satellite 6.19 for RHEL 9
  • Red Hat Red Hat Satellite 6

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.