CVE-2026-12541: Foreman: command injection in foreman-rake database tasks
Vulnerability summary
CVE-2026-12541 is a high (CVSS 8.2) vulnerability in redhat satellite. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 70.1% of scored vulnerabilities.
Not severe (CVSS 8.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4Timeline
- 01-10-2026PublishedVulnerability first disclosed.
- 26-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.2HighCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
1.24%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat1 product
- satellite6.0 | ≥ 6.16, < 6.16.4 | ≥ 6.17, < 6.17.12 | ≥ 6.19, < 6.19.5 | ≥ 6.18, < 6.18.10
Theforeman1 product
- foremanna
2 vendors · 2 products
References
7 links- bugzilla.redhat.com/show_bug.cgi?id=2489970Issue TrackingX Refsource REDHATMitigationVendor Advisory
- www.openwall.com/lists/oss-security/2026/10/07/8Third Party Advisory