CVE Catalog

CVE-2026-12545

MediumCVSS 6.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.51%

41th percentile - higher than 41% of all known CVEs

Summary

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

Risk Assessment

An attacker can execute arbitrary system commands in the context of the application, potentially leading to full system compromise or data breach.

Recommendation

Update rubygem-hammer_cli to a version that includes a fix handling the $EDITOR variable securely, e.g., by using an argument array instead of interpolation into system().

Related vulnerabilities

Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS