OS Command Injection Affecting rubygem-hammer_cli package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.52% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RUBYGEMHAMMERCLI-20475725
  • published4 Oct 2026
  • disclosed1 Oct 2026

Introduced: 1 Oct 2026

CVE-2026-12545  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rubygem-hammer_cli.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-hammer_cli package and not the rubygem-hammer_cli package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1