CVE-2026-12545
6.7medium
Rubygem-hammer_cli: command injection via insecure editor invocation
- Severity
- 6.7medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.53% (higher than 45% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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., ;, |, &).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rubygem-hammer_cli | Not specified 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 * | CVE List |
| satellite-utils:el8/rubygem-hammer_cli | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12545 changed 2026-11-26 | CVE Terms of Use |
| NVD | CVE-2026-12545 changed 2026-11-26 | Public domain |