Skip to content
NewA calmer, faster ZeroHour

CVE-2026-12545: Hammer CLI: editor command injection (fixed in 3.19.1, 5.0.1)

oss-security ()5 · 1 read
AI summary · grok-4.7Summaries by Vani AI

Hammer CLI fixed CVE-2026-12545, a local editor command injection that can escalate privileges.

Hammer CLI, the command-line interface for Foreman, fixed CVE-2026-12545, an editor command-injection flaw. A local attacker who can influence the editor configuration can cause commands to run when a user starts the affected editor flow. If Hammer CLI runs with elevated privileges, the bug can lead to privilege escalation. Affected versions are 0.15.1 through 3.19.0 and 5.0.0, with fixes in 3.19.1 and 5.0.1.

Key facts
  • A local attacker who controls Hammer CLI's editor setting can run commands.
  • If Hammer CLI is privileged, the flaw can escalate privileges.
  • Affects Hammer CLI 0.15.1 through 3.19.0 and 5.0.0.
  • Fixed in Hammer CLI 3.19.1 and 5.0.1; no active exploitation reported.
Analyze CVE-2026-12545 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-12545
Command injection in Hammer CLI via EDITOR
6.7—

From the original article

Posted by Ondrej Gajdusek on Oct 06 Hi, A security fix has been released in Hammer CLI, a command-line interface for Foreman. CVE-2026-12545: Hammer CLI: editor command injection A local attacker who can influence Hammer CLI's editor configuration can cause commands to execute when a user invokes the affected editor flow. If Hammer CLI runs with elevated privileges, this can result in privilege escalation.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.