SecurityContext

CVE-2026-12545: rubygem-hammer_cli - Command Injection

  • Cve: CVE-2026-12545
  • Name: rubygem-hammer_cli - Command Injection
  • 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., ;, |, &).
  • Impact: Attackers can execute arbitrary system commands, potentially leading to full system compromise.
  • Remediation: Update to the latest version with the fix or apply patches that sanitize environment variable usage.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker must control the $EDITOR environment variable
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00523
  • Epss percentile: 0.45249
  • Assignee: [email protected]
  • Published at: 2026-10-01T18:17:15Z
  • Age in days: 54
  • Modified at: 2026-10-07T07:17:00Z
  • References total: 7
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-12545
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://access.redhat.com/errata/RHSA-2026:74503
https://access.redhat.com/errata/RHSA-2026:74504
https://access.redhat.com/errata/RHSA-2026:74505
https://access.redhat.com/errata/RHSA-2026:74506
https://access.redhat.com/security/cve/CVE-2026-12545
https://bugzilla.redhat.com/show_bug.cgi?id=2489993
http://www.openwall.com/lists/oss-security/2026/10/07/5

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts