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.
Published: 2026-10-01
Score: 8.8 High
EPSS: 1.6% Low
KEV: No
Impact: Remote Code Execution via command injection in the effective_user parameter during job template invocation
Action: Patch ASAP
AI Analysis

Impact

A command injection flaw exists in the Red Hat Satellite API endpoint /api/v2/job_invocations when the effective_user field of a job template is marked overridable:true. The application fails to sanitize the effective_user value supplied in the API request, allowing an attacker to inject arbitrary shell commands. The injected commands execute on the target hosts with the privileges of the job’s execution user, giving the attacker complete control over those hosts. This vulnerability is a classic example of CWE‑78 (OS Command Injection). The impact is remote code execution on all target machines that run the job template, regardless of the content or logic of the playbook itself.

Affected Systems

This issue affects Red Hat Satellite 6, 6.16 for RHEL 8, 6.16 for RHEL 9, 6.18 for RHEL 9, and 6.19 for RHEL 9. Affected packages include satellite, satellite_capsule, and satellite_utils at the corresponding versions. The vulnerability is present whenever the API is exposed to clients that have permission to invoke job templates.

Risk and Exploitability

The CVSS base score is 8.8, indicating a severe risk level. The EPSS score is 1% and the vulnerability is not listed in CISA’s KEV catalog. Attackers need network access to the Satellite API and must possess the privilege to execute job templates. Once that condition is met, the flaw can be exploited remotely without further device compromise, making it a high‑risk, moderately likely threat in environments where job execution rights are too broadly granted.

Generated by OpenCVE AI on October 2, 2026 at 15:26 UTC.

Remediation

Vendor Workaround

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.


OpenCVE Recommended Actions

  • Apply the RHSA-2026:74503 errata to update the rubygem-foreman_remote_execution package.
  • Apply the Red Hat workaround: no practical mitigation identified; update the affected package as soon as possible.
  • Restrict job template execution permissions so that only trusted users can run them.
  • Disable the overridable:true setting for the effective_user field in all job templates to eliminate the injection vector.

Generated by OpenCVE AI on October 2, 2026 at 15:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 07 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
References

Sun, 04 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Theforeman
Theforeman foreman
Vendors & Products Theforeman
Theforeman foreman

Fri, 02 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:satellite:6.17::el9
cpe:/a:redhat:satellite_capsule:6.17::el9
cpe:/a:redhat:satellite_utils:6.17::el9
References

Fri, 02 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Thu, 01 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:satellite:6.16::el8
cpe:/a:redhat:satellite:6.16::el9
cpe:/a:redhat:satellite:6.18::el9
cpe:/a:redhat:satellite_capsule:6.16::el8
cpe:/a:redhat:satellite_capsule:6.16::el9
cpe:/a:redhat:satellite_capsule:6.18::el9
cpe:/a:redhat:satellite_utils:6.16::el8
cpe:/a:redhat:satellite_utils:6.16::el9
cpe:/a:redhat:satellite_utils:6.18::el9
References

Thu, 01 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 01 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title Rubygem-foreman_remote_execution: command injection in job invocations via effective_user parameter
First Time appeared Redhat
Redhat satellite
Redhat satellite Capsule
Redhat satellite Utils
Weaknesses CWE-78
CPEs cpe:/a:redhat:satellite:6
cpe:/a:redhat:satellite:6.19::el9
cpe:/a:redhat:satellite_capsule:6.19::el9
cpe:/a:redhat:satellite_utils:6.19::el9
Vendors & Products Redhat
Redhat satellite
Redhat satellite Capsule
Redhat satellite Utils
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Redhat Satellite Satellite Capsule Satellite Utils
Theforeman Foreman
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-07T06:12:02.177Z

Reserved: 2026-06-16T13:54:29.597Z

Link: CVE-2026-12405

cve-icon Vulnrichment

Updated: 2026-10-07T06:12:02.177Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-01T17:17:19.717

Modified: 2026-10-07T07:16:59.623

Link: CVE-2026-12405

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-01T12:20:00Z

Links: CVE-2026-12405 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T20:58:08Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')