What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Red Hat Satellite 6.16 for RHEL 8 0:3.12.0-2.el8sat; Red Hat Satellite 6.16 for RHEL 9 0:3.12.0-2.el9sat; Red Hat Satellite 6.17 for RHEL 9 0:3.14.0-2.el9sat; Red Hat Satellite 6.18 for RHEL 9 0:3.16.0-2.el9sat; Red Hat Satellite 6.19 for RHEL 9 0:3.18.0-2.el9sat. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-12545 or the next vulnerability affects your stack