Rubygem-hammer_cli: command injection via insecure editor invocation (Red Hat Red Hat Satellite 6.16 for RHEL 8)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.52 % · percentile 44 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Awaiting Analysis
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., ;, |, &).
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
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-12545
- https://bugzilla.redhat.com/show_bug.cgi?id=2489993
- http://www.openwall.com/lists/oss-security/2026/10/07/5
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | MEDIUM 6.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD · secalert@redhat.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-90968
- GCVE · GCVE-0-2026-12545
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat Satellite 6.16 for RHEL 8 | unaffected 0:3.12.0-2.el8sat < * |
| Red Hat · Red Hat Satellite 6.16 for RHEL 9 | unaffected 0:3.12.0-2.el9sat < * |
| Red Hat · Red Hat Satellite 6.17 for RHEL 9 | unaffected 0:3.14.0-2.el9sat < * |
| Red Hat · Red Hat Satellite 6.18 for RHEL 9 | unaffected 0:3.16.0-2.el9sat < * |
| Red Hat · Red Hat Satellite 6.19 for RHEL 9 | unaffected 0:3.18.0-2.el9sat < * |
| Red Hat · Red Hat Satellite 6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |