CVE-2026-12405

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

State
Published
Severity
8.8 High
Published
Oct 1, 2026
Updated
Oct 7, 2026
Reserved
Jun 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
Red Hat Satellite 6.16 for RHEL 8Red Hat
  • 0:13.2.8-2.el8sat and laterNot affected
Red Hat Satellite 6.16 for RHEL 9Red Hat
  • 0:13.2.8-2.el9sat and laterNot affected
Red Hat Satellite 6.17 for RHEL 9Red Hat
  • 0:15.0.2-2.el9sat and laterNot affected
Red Hat Satellite 6.18 for RHEL 9Red Hat
  • 0:16.2.3-2.el9sat and laterNot affected
Red Hat Satellite 6.19 for RHEL 9Red Hat
  • 0:16.5.3-2.el9sat and laterNot affected
Red Hat Satellite 6Red Hat

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.