CVE-2026-12545
JSON

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 packageVersionsReported by
rubygem-hammer_cliNot 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_cliNot specifiedCVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12545 changed 2026-11-26CVE Terms of Use
NVDCVE-2026-12545 changed 2026-11-26Public domain