{"id":"CVE-2026-12545","aliases":["CVE-2026-12545"],"related":[],"kind":"vulnerability","state":"published","title":"Rubygem-hammer_cli: command injection via insecure editor invocation","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., ;, |, &).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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., ;, |, &).","source":"cvelist"}],"published":"2026-10-01T17:14:49.943Z","modified":"2026-11-26T22:17:55.180Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:3.12.0-2.el8sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0-2.el8sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.14.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.14.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.16.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.16.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.18.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.19::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.18.0-2.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","package":"rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6.19::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"satellite-utils:el8/rubygem-hammer_cli","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12545","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489993","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/5","tags":[],"sources":["cvelist","nvd"]}],"credits":["This issue was discovered by Laura Pardo (Red Hat) and Toni Gornals (Red Hat)."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-01T17:32:50.535Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12545","url":"https://www.cve.org/CVERecord?id=CVE-2026-12545","licence":"CVE Terms of Use","modified":"2026-11-26T21:35:10.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12545","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12545","licence":"Public domain","modified":"2026-11-26T22:17:55.180Z"}],"updatedAt":"2026-11-26T22:32:32.432Z","epss":{"score":0.00525,"percentile":0.45955,"date":"2026-12-01T12:00:22.000Z"}}