一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年10月2日

CVE-2026-12545 [MEDIUM] – A flaw was found in rubygem-hammer_cli. A command injection vulnerability exists in Hammer

未分类
📑 文章目录

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