CVE-2026-12545 MEDIUM

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

Vendor Red Hat
Product Red Hat Satellite 6
Weakness CWE-78
Published October 1, 2026
Last update October 1, 2026

CVSS base score

6.7/10
Attack vector Local
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

October 1, 2026 CVE published
October 1, 2026 Record updated

Related vulnerabilities

04Related CVE