CVE-2026-12541: Foreman. OS command injection vulnerabilities exist · OS Command Injection
Source GCVE Database
Not known to be exploited · CVSS 8.2 High : patch Red Hat Satellite 6.16 for RHEL 8 soon.
Data as of 15 Nov 2026, 20:25 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 8.2 |
|---|
- EPSS
- 1.2% chance of exploitation in 30 days – higher than 69% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Satellite 6.16 for RHEL 8foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.16 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.17 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.18 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.19 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6satellite:el8/foreman | Affected– | Fixed in– |
AI-suggested
An official patch is available from Red Hat as detailed in advisory RHSA-2026:74503. Users should apply this update to Red Hat Satellite 6.19 on RHEL 9 promptly. The vendor advisory confirms the fix and provides instructions for updating. No additional mitigation steps are required beyond applying the official update.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-12541 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74503 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-12541 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2489970 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74504 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74506 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74505 (opens in a new tab)
- openwall.com/lists/oss-security/2026/10/07/8 (opens in a new tab)