Skip to content

Commit 9765962

Browse files
authored
Merge pull request #1251 from jasnow/hammer_cli-adv
One new hammer_cli advisory @simi - Thanks for reviewing and approving this PR.
2 parents 719c456 + 188730e commit 9765962

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

‎gems/hammer_cli/CVE-2026-12545.yml‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
gem: hammer_cli
3+
cve: 2026-12545
4+
ghsa: q4vv-h3wg-pwgx
5+
url: https://nvd.nist.gov/vuln/detail/CVE-2026-12545
6+
title: hammer_cli - Insecure interpolation of the $EDITOR environment variable
7+
date: 2026-10-01
8+
description: |
9+
A flaw was found in rubygem-hammer_cli. A command injection vulnerability
10+
exists in Hammer CLI and the Railties (Ruby on Rails) component
11+
distributed with Satellite due to the insecure interpolation of the
12+
$EDITOR environment variable into the Ruby system() method.
13+
By passing a single interpolated string to system(), the application
14+
invokes a system shell (/bin/sh) that interprets shell
15+
metacharacters (e.g., ;, |, &).
16+
cvss_v3: 6.7
17+
patched_versions:
18+
- "~> 3.19.1"
19+
- ">= 5.0.1"
20+
related:
21+
url:
22+
- https://nvd.nist.gov/vuln/detail/CVE-2026-12545
23+
- https://rubygems.org/gems/hammer_cli/versions/5.0.1
24+
- https://github.com/theforeman/hammer-cli/compare/5.0.0...5.0.1
25+
- https://rubygems.org/gems/hammer_cli/versions/3.19.1
26+
- https://github.com/theforeman/hammer-cli/compare/3.19.0...3.19.1
27+
- https://github.com/theforeman/hammer-cli/pull/407/changes/9d602cd3cecd1e3711037fc4334c3c7d23dbd46b
28+
- https://github.com/theforeman/hammer-cli/commit/a968f58aad9d79bfcd2b107c570f7dcabee033b6
29+
- https://access.redhat.com/errata/RHSA-2026:74503
30+
- https://access.redhat.com/security/cve/CVE-2026-12545
31+
- https://bugzilla.redhat.com/show_bug.cgi?id=2489993
32+
- https://github.com/advisories/GHSA-q4vv-h3wg-pwgx
33+
notes: |
34+
- cvss_v3 from GHSA and nvd-nist.gov URLs.
35+
- date from GHSA URL

0 commit comments

Comments
 (0)