CVE-2026-12545
Rubygem-hammer_cli: command injection via insecure editor invocation
- Medium 6.7
Description
A flaw was found in rubygem-hammer_cli. A command injection vulnerability exists in Hammer CLI and the Railties (Ruby on Rails) component distributed with Satellite due to the insecure interpolation of the $EDITOR environment variable into the Ruby system() method. By passing a single interpolated string to system(), the application invokes a system shell (/bin/sh) that interprets shell metacharacters (e.g., ;, |, &).
Key facts
- Published
- 1 Oct 2026
- Last changed
- 2 Nov 2026
- Assigned by
- redhat
- EPSS
- 0.523% likely to be exploited in the next 30 days, higher than 44.972% of CVEs (scores for 17 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 6.7CVSS 3.1, Mediumfrom the CNA (redhat)
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
What to do
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.CNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 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 |
|
Timeline
- 17 Jun 2026 Reported to Red Hat.
- 1 Oct 2026 Made public.
- 1 Oct 2026 Published
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).