CVE-2026-12541CWE-78command-injection

CVE-2026-12541

High · published October 1, 2026

CVSS v3.1
8.2
EPSS
1%
Percentile
67.9
In the wild
Unconfirmed
What it is

A flaw was found in Foreman. OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks. The application fails to properly sanitize user-supplied input in the destination parameter (during backups) and the file parameter (during imports) before passing them to a Ruby system() call for execution. An attacker with permissions to execute foreman-rake (e.g., via a restricted sudo configuration) can append malicious shell commands to the provided file paths.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01200 · 67.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-10-01T21:17Z
Affected products (6)
ProductVersionsFixed in
redhat/satelliteall versions—
redhat/satellite≥ 6.16, < 6.16.46.16.4
redhat/satellite≥ 6.17, < 6.17.126.17.12
redhat/satellite≥ 6.19, < 6.19.56.19.5
theforeman/foremanall versions—
redhat/satellite≥ 6.18, < 6.18.106.18.10
References (7)
EPSS history
Timeline
  • 03 OCT 03:41Z
    EPSS moved — → 1%
    epss
  • 01 OCT 16:22Z
    Foreman: command injection in foreman-rake database tasks
    cvelistv5