CVE-2026-12545: Hammer CLI: editor command injection (fixed in 3.19.1, 5.0.1)
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.
- 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.
- CVEs
- CVE-2026-12545
- Vendors
- Foreman
- Products
- Hammer CLIForeman
- Organizations
- Foreman
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| 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.
seclists.org
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.