Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-12405

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-12405

Red Hat Satellite 6.16 for RHEL 8

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Satellite 6.16 for RHEL 9

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Satellite 6.17 for RHEL 9

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Satellite 6.18 for RHEL 9

Source reference: /containers/cna/affected/3/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Satellite 6.19 for RHEL 9

Source reference: /containers/cna/affected/4/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Satellite 6

Source reference: /containers/cna/affected/5/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:/a:redhat:satellite:6.16::el8",
      "cpe:/a:redhat:satellite:6.16::el9",
      "cpe:/a:redhat:satellite_capsule:6.16::el8",
      "cpe:/a:redhat:satellite_capsule:6.16::el9",
      "cpe:/a:redhat:satellite_utils:6.16::el8",
      "cpe:/a:redhat:satellite_utils:6.16::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Satellite 6.16 for RHEL 8",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:13.2.8-2.el8sat",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rubygem-foreman_remote_execution",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:satellite:6.16::el8",
      "cpe:/a:redhat:satellite:6.16::el9",
      "cpe:/a:redhat:satellite_capsule:6.16::el8",
      "cpe:/a:redhat:satellite_capsule:6.16::el9",
      "cpe:/a:redhat:satellite_utils:6.16::el8",
      "cpe:/a:redhat:satellite_utils:6.16::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Satellite 6.16 for RHEL 9",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:13.2.8-2.el9sat",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rubygem-foreman_remote_execution",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:satellite:6.17::el9",
      "cpe:/a:redhat:satellite_capsule:6.17::el9",
      "cpe:/a:redhat:satellite_utils:6.17::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Satellite 6.17 for RHEL 9",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:15.0.2-2.el9sat",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rubygem-foreman_remote_execution",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:satellite:6.18::el9",
      "cpe:/a:redhat:satellite_capsule:6.18::el9",
      "cpe:/a:redhat:satellite_utils:6.18::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Satellite 6.18 for RHEL 9",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:16.2.3-2.el9sat",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rubygem-foreman_remote_execution",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:satellite:6.19::el9",
      "cpe:/a:redhat:satellite_capsule:6.19::el9",
      "cpe:/a:redhat:satellite_utils:6.19::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Satellite 6.19 for RHEL 9",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:16.5.3-2.el9sat",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rubygem-foreman_remote_execution",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:satellite:6"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Satellite 6",
    "packageName": "satellite:el8/rubygem-foreman_remote_execution",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-12405

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#11751 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement