# CVE-2026-12545: Rubygem-hammer_cli: command injection via insecure editor invocation

- Severity: Medium 6.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-01T17:14:49.943Z
- Modified: 2026-11-26T22:17:55.180Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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., ;, |, &).

(As written by CVE List.)

## Affected

- rubygem-hammer_cli: no versions given (not affected: from 0:3.12.0-2.el8sat before *; from 0:3.12.0-2.el9sat before *; from 0:3.14.0-2.el9sat before *; from 0:3.16.0-2.el9sat before *; from 0:3.18.0-2.el9sat before *)
- satellite-utils:el8/rubygem-hammer_cli: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:74503> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74504> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74505> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:74506> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-12545> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2489993> (issue-tracking)
- <http://www.openwall.com/lists/oss-security/2026/10/07/5>

## Sources

- CVE List: [CVE-2026-12545](https://www.cve.org/CVERecord?id=CVE-2026-12545), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-12545](https://nvd.nist.gov/vuln/detail/CVE-2026-12545), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2026-12545 · Whole record: https://cve.day/CVE-2026-12545.json · Rebuilt by cve.day 2026-11-26T22:32:32.432Z
