Skip to content
NewA calmer, faster ZeroHour

CVE-2026-12541: Foreman: command injection in foreman-rake database tasks (fixed in 3.19.2, 5.0.1)

oss-security ()5 · 1 read
Part of a story covered by 8 sourcesForeman patches eight access and code-execution flawsMerged summary & timeline
AI summary · grok-4.7Summaries by Vani AI

Foreman patched CVE-2026-12541, a command injection in foreman-rake database tasks that can compromise the server.

Ondrej Gajdusek announced a fix for CVE-2026-12541 in Foreman, an open-source lifecycle management tool for physical and virtual servers. A user allowed to run restricted foreman-rake database tasks can trigger command execution through file-path parameters because of unsafe shell handling, which can compromise the Foreman server and its database. Affected versions include Foreman 1.5.0 through 3.19.1, with fixes in 3.19.2 and 5.0.1. The post does not report observed exploitation.

Key facts
  • Command injection is in foreman-rake database file-path parameters.
  • An allowed user of restricted tasks can reach command execution.
  • Abuse can compromise the Foreman server and its database.
  • Fixes are available in Foreman 3.19.2 and 5.0.1.
Analyze CVE-2026-12541 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-12541
OS command injection in Foreman foreman-rake DB tasks
8.2—

From the original article

Posted by Ondrej Gajdusek on Oct 06 Hi, A security fix has been released in Foreman, an open-source lifecycle management tool for physical and virtual servers. CVE-2026-12541: Foreman: command injection in foreman-rake database tasks A user allowed to run restricted `foreman-rake` database tasks can cause command execution through file path parameters.

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.